X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-cadbury.git/blobdiff_plain/a6d33d8a50c3175c420cbe5a818d8061b14c8a96..92d06b0637338b1df9abe36c73a731c2b9fe6112:/app.py diff --git a/app.py b/app.py index b3b352f..97b63ee 100644 --- a/app.py +++ b/app.py @@ -1,9 +1,14 @@ from matrix_goal_bot.bot import get_bot, goal_bot +from matrix_chore_bot.bot import chore_bot bot = get_bot() @bot.listener.on_message_event -async def do_bot_stuff(room, message): +async def do_goal_stuff(room, message): await goal_bot(room, message, bot) +@bot.listener.on_message_event +async def do_chore_stuff(room, message): + await chore_bot(room, message, bot) + bot.run()