refactor: simplify /stop dispatch, inline commands, trim verbose docstrings
This commit is contained in:
@@ -111,6 +111,7 @@ class TelegramChannel(BaseChannel):
|
||||
BOT_COMMANDS = [
|
||||
BotCommand("start", "Start the bot"),
|
||||
BotCommand("new", "Start a new conversation"),
|
||||
BotCommand("stop", "Stop the current task"),
|
||||
BotCommand("help", "Show available commands"),
|
||||
]
|
||||
|
||||
@@ -299,6 +300,7 @@ class TelegramChannel(BaseChannel):
|
||||
await update.message.reply_text(
|
||||
"🐈 nanobot commands:\n"
|
||||
"/new — Start a new conversation\n"
|
||||
"/stop — Stop the current task\n"
|
||||
"/help — Show available commands"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user