From b97737f615335ee57568b126ab5bebf83e9dbeca Mon Sep 17 00:00:00 2001 From: binlab Date: Sun, 5 Nov 2023 16:34:23 +0000 Subject: [PATCH] Intento 4 --- main.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 72adedd..0aec04d 100644 --- a/main.py +++ b/main.py @@ -42,11 +42,8 @@ async def on_message(message): await message.channel.send(make_help()) if message.content.lower().endswith("murciano"): - murciano() - -@bot.command() -async def murciano(ctx): - await ctx.reply("Me la agarras con la mano", ephemeral=True, mention_author=True) + 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']}!") async def add(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], os.environ['N2']])):