From e9d2cc274781ec1213e49701c84b72eaf46c0d3d Mon Sep 17 00:00:00 2001 From: "Dr.Caduceus" Date: Sun, 1 Dec 2024 18:25:15 +0530 Subject: [PATCH] Minor improvements. --- bot/modules/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/modules/decorators.py b/bot/modules/decorators.py index 4478267..e4d54e8 100644 --- a/bot/modules/decorators.py +++ b/bot/modules/decorators.py @@ -14,10 +14,10 @@ def verify_user(func: Callable): if not Telegram.ALLOWED_USER_IDS or chat_id in Telegram.ALLOWED_USER_IDS: return await func(client, update) elif isinstance(update, CallbackQuery): - return await update.answer(UserNotInAllowedList, show_alert=True) + return await update.answer(UserNotInAllowedListText, show_alert=True) elif isinstance(update, Message): return await update.reply( - text = UserNotInAllowedList, + text = UserNotInAllowedListText, quote = True, reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton('Deploy Own', url='https://github.com/TheCaduceus/FileStreamBot')]]) )