From 48fdc6c64a3ed137e66df865bae6c00585633494 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Fri, 27 Nov 2020 13:59:32 -0500 Subject: [PATCH] [+] Redirect /start with arguments --- src/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commands.py b/src/commands.py index f3d4ca6..d449d0d 100644 --- a/src/commands.py +++ b/src/commands.py @@ -59,6 +59,10 @@ def start(update: Update, context: CallbackContext): chat = update.effective_chat database.checkUser(chat.id) + # Probably typed the wrong command + if len(context.args) > 0: + return enable(update, context) + return helpMsg