X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/ec5ce64bec2a57f7b884d09b663c12f3447b3809..33eb98119c73f926a8cd1c7d169dda07e6d66959:/app.py diff --git a/app.py b/app.py index a4a6395..b3b352f 100644 --- 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()