Intento 3
This commit is contained in:
5
main.py
5
main.py
@@ -42,8 +42,11 @@ 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"):
|
||||||
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']}!")
|
@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']])):
|
||||||
|
|||||||
Reference in New Issue
Block a user