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