From d1ff8579b7febe05a92995cc3b5d5bc791938209 Mon Sep 17 00:00:00 2001 From: binlab Date: Sun, 5 Nov 2023 16:30:01 +0000 Subject: [PATCH] Intento 3 --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 130a3d0..72adedd 100644 --- a/main.py +++ b/main.py @@ -42,8 +42,11 @@ async def on_message(message): await message.channel.send(make_help()) if message.content.lower().endswith("murciano"): - await message.author.reply("Me la agarras con la mano", mention_author=True, ephemeral=True) + murciano() +@bot.command() +async def murciano(ctx): + 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']])):