mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-13 10:02:15 +00:00
Map help to start command on Telegram
This commit is contained in:
@@ -28,7 +28,7 @@ class TelegramSmsBot:
|
||||
|
||||
def init_handlers(self):
|
||||
self.app.add_handler(TypeHandler(Update, self.callback), -1)
|
||||
self.app.add_handler(CommandHandler("help", self.handler_help))
|
||||
self.app.add_handler(CommandHandler(["help", "start"], self.handler_help))
|
||||
self.app.add_handler(CommandHandler("subscribe", self.handler_subscribe))
|
||||
self.app.add_handler(CommandHandler("unsubscribe", self.handler_unsubscribe))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user