Save data for future users with notes!
Notes are great to save random tidbits of information; a phone number, a nice gif, a funny picture - anything!
Available commands are:
- /save <word> <sentence>: Save that sentence to the note called "word". Replying to a message will save that message. Even works on media!
- /get <word>: Get the note registered to that word.
- #<word>: Same as /get word
.
- /notes: List all notes in the current chat.
- /saved: Same as /notes.
- /clear <word>: Delete the note called "word".
- /clearall: Delete ALL notes in chat. This cannot be undone.
- /privatenotes <on/yes/off/no>: Whether or not to send the note in PM. Will send a message with a button to the group, which the user can click on to be redirected to PM.
An example of how to save a note would be via:
/save data This is some data!
Now, anyone using "/get data", or "#data" will be replied to with "This is some data!".
If you want to save an image, gif, or sticker, or any other data, do the following:
/save word
while replying to a sticker or whatever data you'd like. Now, the note at "#word" contains a sticker which will be sent as a reply.
Tip: to retrieve a note without the formatting, use /get <notename> noformat
This will retrieve the note and send it without formatting it; getting you the raw markdown, allowing you to make easy edits.
You can also link notes through buttons. To do this, simply use the notename as the url, like this:
[note button](buttonurl://#note)
The user will then be redirected to the bot PM, and receive the note there - reducing note spam in the chat.