Update main.py

This commit is contained in:
binlab
2023-11-05 19:11:27 +00:00
parent 6b1d831f70
commit 142080009f

View File

@@ -44,13 +44,13 @@ async def on_message(message):
ctx = await bot.get_context(message) ctx = await bot.get_context(message)
await ctx.reply("Me la agarras con la mano", mention_author=True, delete_after=5) await ctx.reply("Me la agarras con la mano", mention_author=True, delete_after=5)
if message.content.lower().endswith("cinco" or "5" or "25" or "veinticinco"): if message.content.lower().endswith(("cinco", "5", "25", "veinticinco")):
ctx = await bot.get_context(message) ctx = await bot.get_context(message)
await ctx.reply("Por el culo te la hinco", mention_author=True, delete_after=5) await ctx.reply("Por el culo te la hinco", mention_author=True, delete_after=5)
# if message.content.lower().endswith("ocho" or "8"): if message.content.lower().endswith((" ocho", " 8")) and not message.content.lower().endswith("endocho"):
# ctx = await bot.get_context(message) ctx = await bot.get_context(message)
# await ctx.reply("Por el culo te la endocho", mention_author=True, delete_after=5) await ctx.reply("Por el culo te la endocho", mention_author=True, delete_after=5)
@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']])):