X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/ec5ce64bec2a57f7b884d09b663c12f3447b3809..08aa0bb297ebc364cd6b0bc725169c9116454baa:/app.py?ds=sidebyside 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()