diff options
author | Mikhail Kirillov <w96k@runbox.com> | 2024-10-10 06:20:52 +0400 |
---|---|---|
committer | Mikhail Kirillov <w96k@runbox.com> | 2024-10-10 06:20:52 +0400 |
commit | 23bddf358dc615d18ed4470f33f383f1eac9ac63 (patch) | |
tree | 9d9ac4e9aa31c237b9a7776abc27dcd597d6d4e6 /main.py | |
parent | 8d2d5acde9d4d7d44d93c386e541692f4e45a271 (diff) |
Task #10. /announce command
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -58,6 +58,7 @@ if __name__ == "__main__": # Event commands app.add_handler(CommandHandler("event", commands.create_event)) app.add_handler(CommandHandler("events", commands.list_events)) + app.add_handler(CommandHandler("announce", commands.create_announcement)) # Movie commands app.add_handler(CommandHandler("movie", commands.movie)) @@ -69,6 +70,7 @@ if __name__ == "__main__": app.add_handler(CommandHandler("add", commands.add_users)) app.add_handler(CommandHandler("list", commands.list_users)) app.add_handler(CommandHandler("users", commands.list_users)) + app.add_handler(CommandHandler("queue", commands.list_users)) app.add_handler(CommandHandler("remove", commands.remove_users)) app.add_handler(CommandHandler("chooser", commands.chooser_user)) app.add_handler(CommandHandler("next", commands.who_is_next)) |