From 23bddf358dc615d18ed4470f33f383f1eac9ac63 Mon Sep 17 00:00:00 2001 From: Mikhail Kirillov Date: Thu, 10 Oct 2024 06:20:52 +0400 Subject: Task #10. /announce command --- main.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.py') diff --git a/main.py b/main.py index fa194f5..89dd6aa 100644 --- a/main.py +++ b/main.py @@ -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)) -- cgit v1.2.3