]> us-delaporte.pagekite.me Git - matrix-cadbury.git/blob - app.py
Add usage
[matrix-cadbury.git] / app.py
1 from matrix_goal_bot.bot import get_bot, goal_bot
2 from matrix_chore_bot.bot import chore_bot
3
4 bot = get_bot()
5
6 @bot.listener.on_message_event
7 async def do_goal_stuff(room, message):
8 await goal_bot(room, message, bot)
9
10 @bot.listener.on_message_event
11 async def do_chore_stuff(room, message):
12 await chore_bot(room, message, bot)
13
14 bot.run()