diff --git a/bot.py b/bot.py index e2aa5f1..b7a2d38 100644 --- a/bot.py +++ b/bot.py @@ -11,7 +11,7 @@ PREFIX = "!q" @bot.listener.on_message_event async def help_message(room, message): - match = botlib.MessageMatch(room, message, bot, PREFIX) + match = botLibrary.MessageMatch(room, message, bot, PREFIX) if not (match.is_not_from_this_bot() and match.prefix() and match.command("help")): return @@ -27,7 +27,7 @@ async def help_message(room, message): @bot.listener.on_message_event async def make_choice(room, message): - match = botlib.MessageMatch(room, message, bot, PREFIX) + match = botLibrary.MessageMatch(room, message, bot, PREFIX) if not (match.is_not_from_this_bot() and match.prefix() and match.command("get")): return @@ -41,3 +41,5 @@ async def make_choice(room, message): """) await bot.api.send_text_message(room.room_id, message) + +bot.run()