IDEMSInternational / puzzle-telegram-bot

A Telegram bot for running puzzle competitions
1 stars 2 forks source link

Consider command prefix #5

Open geoo89 opened 2 years ago

geoo89 commented 2 years ago

Currently, the bot processes all messages. For this, the following setup is required

Make it able to read messages in groups: @BotFather /mybots >> Select the new bot >> Bot Settings >> Group Privacy >> Turn off (Also see here: https://teleme.io/articles/group_privacy_mode_of_telegram_bots)

By default, Telegram bots can only see messages that are prefixed with /. We should consider prefixing all our commands with / rather than !! or no prefix. E.g. answer submission to question N could be /N 15

Telegram bots can be customized to have predefined commands. It would be great to take advantage of that and respond to the above. Here are some screenshots: photo_2022-09-08 19 57 38

https://user-images.githubusercontent.com/56001928/189182366-ca544571-a267-4456-bbe5-64cb162c89ef.mp4