]> us-delaporte.pagekite.me Git - matrix-goal-bot.git/blobdiff - app.py
Update todo list
[matrix-goal-bot.git] / app.py
diff --git a/app.py b/app.py
index a4a639560ca3b30ced18778f202e4d75251fd96b..b3b352f753155c6c3e4ed64b3280ed4473eee6b9 100644 (file)
--- a/app.py
+++ b/app.py
@@ -1,9 +1,9 @@
-from goals.bot import get_bot, goal_bot
+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()