when you mistype a command, in many cases the bot prints the usage string. This response should get automatically removed after some time (~10 seconds).
This could also be done for "Success" style responses.
For this, there should probably be a new function SendAutoremove (or something like that) created in command.go, which resembles Reply, just that it automatically removes the message after a given amount of time.
by elkowar: https://github.com/unixporn/trup/issues/57
when you mistype a command, in many cases the bot prints the usage string. This response should get automatically removed after some time (~10 seconds). This could also be done for "Success" style responses. For this, there should probably be a new function
SendAutoremove
(or something like that) created in command.go, which resemblesReply
, just that it automatically removes the message after a given amount of time.