X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/8e699b9e8768fedfc04203d639fd03144c2b617e..43dccab14924fb469d9fe74feafece7ab05c251a:/app.py?ds=inline diff --git a/app.py b/app.py index 629a785..b3b352f 100644 --- 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()