From 773beb5553b9e6365481c7dd20350cdf43d39be5 Mon Sep 17 00:00:00 2001 From: n Date: Fri, 31 Jan 2025 18:18:21 -0600 Subject: [PATCH] start !q get --- bot.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/bot.py b/bot.py index f5b80e1..fa03311 100644 --- a/bot.py +++ b/bot.py @@ -19,3 +19,20 @@ async def help_message(room, message): """) await bot.api.send_text_message(room.room_id, message) + +@bot.listener.on_message_event +async def make_choice(room, message): + match = botlib.MessageMatch(room, message, bot, PREFIX) + if not (match.is_not_from_this_bot() and match.prefix() + and match.command("get")): + return + temp = True + if not match.args(): + temp = False + else: + id = match.args() + message = (f""" + Command recived (DEBUG_) + """) + + await bot.api.send_text_message(room.room_id, message)