]> apps.delaporte.us Git - matrix-cadbury.git/blobdiff - app.py
Add chore bot
[matrix-cadbury.git] / app.py
diff --git a/app.py b/app.py
index b3b352f753155c6c3e4ed64b3280ed4473eee6b9..97b63eec771f40459dac4f96a9f0f43a9944887d 100644 (file)
--- a/app.py
+++ b/app.py
@@ -1,9 +1,14 @@
 from matrix_goal_bot.bot import get_bot, goal_bot
 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
 
 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)
 
     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()
 bot.run()