telegram-support-bot icon indicating copy to clipboard operation
telegram-support-bot copied to clipboard

Option to add user commands

Open designbydj opened this issue 2 years ago • 1 comments

Describe the solution you'd like An option to add and manage user commands for users.

Currently there are two user commands: /faq and /help with preset text that is in the code and cannot be easily edited. I would like an option to define (or edit/delete) a user command so that I can use it for repeated queries. so, for example, I can reply the user with "to solve this issue please press here /sometext" after I set a reply for "/sometext".

designbydj avatar Feb 24 '22 19:02 designbydj

For now you could update the config/strings.ts file where the auto replies are saved. Instead of how do I install this? you could write /somecommand and then the response.

bostrot avatar Jun 23 '22 00:06 bostrot