This commit is contained in:
Hafitz Setya 2021-04-12 13:41:10 +07:00 committed by GitHub
parent 80ffa75264
commit 5f9d1beaaa
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ def main():
log_handler = CommandHandler(BotCommands.LogCommand, log, filters=CustomFilters.owner_filter)
repo_handler = CommandHandler(BotCommands.RepoCommand, repo,
filters=CustomFilters.authorized_chat | CustomFilters.authorized_user)
authlist_handler = CommandHandler(BotCommands.AuthListCommand, chat_list, filters=CustomFilters.owner_filter, run_async=True)
authlist_handler = CommandHandler(BotCommands.AuthListCommand, chat_list, filters=CustomFilters.owner_filter)
dispatcher.add_handler(start_handler)
dispatcher.add_handler(ping_handler)
dispatcher.add_handler(restart_handler)