From 4410f4e8aa654869102d8aef3514ed351c6ba2cd Mon Sep 17 00:00:00 2001 From: Arsalan <35004378+a092devs@users.noreply.github.com> Date: Wed, 22 Apr 2020 06:11:51 +0000 Subject: [PATCH] fixed hardcoded /watch for custom command users (#66) --- bot/modules/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/watch.py b/bot/modules/watch.py index acb98ed..42bdb1d 100644 --- a/bot/modules/watch.py +++ b/bot/modules/watch.py @@ -14,7 +14,7 @@ def _watch(bot: Bot, update: Update, args: list, isTar=False): try: link = args[0] except IndexError: - sendMessage('/watch [yt_dl supported link] to mirror with youtube_dl', bot, update) + sendMessage(f'/{BotCommands.WatchCommand} [yt_dl supported link] to mirror with youtube_dl', bot, update) return reply_to = update.message.reply_to_message if reply_to is not None: