1
0
Fork 0

start !q get

This commit is contained in:
Nyx 2025-01-31 18:18:21 -06:00
parent 80c37cb7b4
commit 773beb5553

17
bot.py
View file

@ -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)