Intento 4

This commit is contained in:
binlab
2023-11-05 16:34:23 +00:00
parent d1ff8579b7
commit b97737f615

View File

@@ -42,11 +42,8 @@ async def on_message(message):
await message.channel.send(make_help()) await message.channel.send(make_help())
if message.content.lower().endswith("murciano"): if message.content.lower().endswith("murciano"):
murciano() ctx = await bot.get_context(message)
await ctx.reply("Me la agarras con la mano", ephemeral=True, mention_author=True)
@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']}!") @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']])): async def add(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], os.environ['N2']])):