summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorMikhail Kirillov <w96k@runbox.com>2024-10-10 06:20:52 +0400
committerMikhail Kirillov <w96k@runbox.com>2024-10-10 06:20:52 +0400
commit23bddf358dc615d18ed4470f33f383f1eac9ac63 (patch)
tree9d9ac4e9aa31c237b9a7776abc27dcd597d6d4e6 /main.py
parent8d2d5acde9d4d7d44d93c386e541692f4e45a271 (diff)
Task #10. /announce command
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 2 insertions, 0 deletions
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))