Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fr1t2 opened this issue Sep 17, 2021 · 0 comments
Open

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

fr1t2 opened this issue Sep 17, 2021 · 0 comments
Assignees

Comments

@fr1t2
Copy link
Member

fr1t2 commented Sep 17, 2021

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

@fr1t2 fr1t2 self-assigned this Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant