From b8f1c5d088e4687a671641244950f35326678ef9 Mon Sep 17 00:00:00 2001 From: binlab Date: Sun, 5 Nov 2023 16:39:20 +0000 Subject: [PATCH] Intento 5 --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 0aec04d..e182bb5 100644 --- a/main.py +++ b/main.py @@ -33,6 +33,7 @@ async def on_ready(): @bot.event async def on_message(message): + ctx = await bot.get_context(message) for cmd in cmds: if message.content.startswith(f'{PREFIX}{cmd[0]}'): await message.channel.send(random.choice(cmd[1])) @@ -42,7 +43,7 @@ async def on_message(message): await message.channel.send(make_help()) if message.content.lower().endswith("murciano"): - ctx = await bot.get_context(message) + await ctx.reply("Me la agarras con la mano", ephemeral=True, mention_author=True) @bot.command(description=f"Añade una característica más de {os.environ['N1']} o {os.environ['N2']}!")