- Timestamp:
- Oct 10, 2024, 4:12:00 AM (5 weeks ago)
- Branches:
- master
- Children:
- 8d2d5ac
- Parents:
- 6623428
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main.py
r6623428 r9be02d9 36 36 ) 37 37 38 38 39 async def error_handler(update: object, context: ContextTypes.DEFAULT_TYPE) -> None: 39 40 logging.error("Exception:", exc_info=context.error) … … 55 56 app.add_handler(CommandHandler("about", commands.about)) 56 57 58 # Event commands 59 app.add_handler(CommandHandler("event", commands.create_event)) 60 app.add_handler(CommandHandler("events", commands.list_events)) 61 57 62 # Movie commands 58 63 app.add_handler(CommandHandler("movie", commands.movie)) 59 64 app.add_handler(CommandHandler("movies", commands.movies)) 60 65 app.add_handler(CommandHandler("movies_remove", commands.remove_movies)) 61 66 62 67 # Users commands 63 68 app.add_handler(CommandHandler("set", commands.set_users)) 64 69 app.add_handler(CommandHandler("add", commands.add_users)) 65 70 app.add_handler(CommandHandler("list", commands.list_users)) 71 app.add_handler(CommandHandler("users", commands.list_users)) 66 72 app.add_handler(CommandHandler("remove", commands.remove_users)) 67 73 app.add_handler(CommandHandler("chooser", commands.chooser_user))
Note:
See TracChangeset
for help on using the changeset viewer.