aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Serrahima <dev@vylion.com>2026-02-02 09:58:44 +0100
committerGuillermo Serrahima <dev@vylion.com>2026-02-02 09:58:44 +0100
commit3305780590ed7aafa7fb81b827f602ee05a7bdb0 (patch)
tree185c7e3a08edb84df35cf0ba6f3bb4532c97db2f
parent74106df9c9199dd4a415f63e49a7450bae17bbea (diff)
downloadvelascobot2-3305780590ed7aafa7fb81b827f602ee05a7bdb0.tar.xz
velascobot2-3305780590ed7aafa7fb81b827f602ee05a7bdb0.zip
Added show_config as a command
-rw-r--r--velascobot2/bot.py6
1 files 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(
(