X-Git-Url: https://apps.delaporte.us/gitweb/matrix-cadbury.git/blobdiff_plain/84c6af2ed384d2c5f05a2e8d1f466446b0a22a20..da155a5cf1def9d13f81c2f3719721498245539c:/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()