Update watch.py
This commit is contained in:
parent
c16c7c681b
commit
c9354a8114
|
|
@ -58,18 +58,11 @@ def watch(update, context):
|
|||
_watch(context.bot, update)
|
||||
|
||||
|
||||
mirror_handler = CommandHandler(
|
||||
BotCommands.WatchCommand,
|
||||
watch,
|
||||
filters=CustomFilters.authorized_chat | CustomFilters.authorized_user,
|
||||
run_async=True,
|
||||
)
|
||||
tar_mirror_handler = CommandHandler(
|
||||
BotCommands.TarWatchCommand,
|
||||
watchTar,
|
||||
filters=CustomFilters.authorized_chat | CustomFilters.authorized_user,
|
||||
run_async=True,
|
||||
)
|
||||
mirror_handler = CommandHandler(BotCommands.WatchCommand, watch,
|
||||
filters=CustomFilters.authorized_chat | CustomFilters.authorized_user, run_async=True)
|
||||
tar_mirror_handler = CommandHandler(BotCommands.TarWatchCommand, watchTar,
|
||||
filters=CustomFilters.authorized_chat | CustomFilters.authorized_user, run_async=True)
|
||||
|
||||
|
||||
dispatcher.add_handler(mirror_handler)
|
||||
dispatcher.add_handler(tar_mirror_handler)
|
||||
|
|
|
|||
Loading…
Reference in New Issue