]> apps.delaporte.us Git - matrix-goal-bot.git/blobdiff - app.py
Update to indicate completed goals
[matrix-goal-bot.git] / app.py
diff --git a/app.py b/app.py
index 629a785f49288cd634332b4ca03f8fcd260b4db1..b3b352f753155c6c3e4ed64b3280ed4473eee6b9 100644 (file)
--- a/app.py
+++ b/app.py
@@ -3,7 +3,7 @@ from matrix_goal_bot.bot import get_bot, goal_bot
 bot = get_bot()
 
 @bot.listener.on_message_event
-def do_bot_stuff(room, message):
-    goal_bot(room, message)
+async def do_bot_stuff(room, message):
+    await goal_bot(room, message, bot)
 
 bot.run()