From 3305780590ed7aafa7fb81b827f602ee05a7bdb0 Mon Sep 17 00:00:00 2001 From: Guillermo Serrahima Date: Mon, 2 Feb 2026 09:58:44 +0100 Subject: Added show_config as a command --- velascobot2/bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/velascobot2/bot.py b/velascobot2/bot.py index 7727895..072d2a8 100644 --- a/velascobot2/bot.py +++ b/velascobot2/bot.py @@ -42,7 +42,7 @@ help_msg = """I answer to the following commands: /restrict - Toggle restriction of configuration commands to admins only. /silence - Toggle restriction on mentions by the bot. /ping - Pong! -/where - Tell my configuration for this chat. +/config - Show my configuration for this chat. """ @@ -154,9 +154,7 @@ class Bot: app.add_handler(CommandHandler("answer", self.answer)) app.add_handler(CommandHandler("restrict", self.restrict)) app.add_handler(CommandHandler("silence", self.silence)) - app.add_handler( - CommandHandler("where", static_reply("Not implemented")) - ) + app.add_handler(CommandHandler("config", self.show_config)) app.add_handler( MessageHandler( ( -- cgit v1.2.3