Skip to content

[IMPROVEMENT] - Add message field to +tip command #23

@fr1t2

Description

@fr1t2

What would you like improved?

Add message functionality to the +tip command, adding optional message text to the transfer transaction on-chain.

Improvement

Add a way to append a message to the tip transaction giving a user ability to send textual messages on-chain through the tipbot. Message should have some delineation from the tip command to indicate to the bot the message should be sent with the tip.

Possible examples:
+tip @fr1t2 1 msg: MESSAGE TEXT TO SEND, MAX 80 bytes
+tip @fr1t2 1 {MESSAGE TEXT TO SEND, MAX 80 bytes}

Requires:

  • Additional parsing of the message sent from users
  • Validation and sanitation of text entered
  • Additional field for message in the tips database
  • A deliminator to signify a message is to be sent.
  • Additional checks for message length
  • Procedure for message over length
    • Strip additional text
    • Fail entire tip
    • Send tip without message
  • Additional function to the send transaction function to add message text

Is this improvement request related to a Bug Report?

no

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions