From 236b6eb30eae1ec6b8391f9801a8b21478992061 Mon Sep 17 00:00:00 2001 From: jaskaranSM Date: Thu, 16 Apr 2020 13:28:44 +0530 Subject: [PATCH] use args from CallbackContext --- bot/modules/watch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot/modules/watch.py b/bot/modules/watch.py index 6baefc357..ac640ea18 100644 --- a/bot/modules/watch.py +++ b/bot/modules/watch.py @@ -30,12 +30,12 @@ def _watch(bot: Bot, update: Update, args: list, isTar=False): @run_async -def watchTar(update, context, args): - _watch(context.bot, update, args, True) +def watchTar(update, context): + _watch(context.bot, update, context.args, True) -def watch(update, context, args): - _watch(context.bot, update, args) +def watch(update, context): + _watch(context.bot, update, context.args) mirror_handler = CommandHandler(BotCommands.WatchCommand, watch,