From 142080009f31c377b4deef39340609044444527d Mon Sep 17 00:00:00 2001 From: binlab Date: Sun, 5 Nov 2023 19:11:27 +0000 Subject: [PATCH] Update main.py --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 9a80e4f..957f288 100644 --- a/main.py +++ b/main.py @@ -44,13 +44,13 @@ async def on_message(message): ctx = await bot.get_context(message) 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) await ctx.reply("Por el culo te la hinco", mention_author=True, delete_after=5) - # if message.content.lower().endswith("ocho" or "8"): - # ctx = await bot.get_context(message) - # await ctx.reply("Por el culo te la endocho", mention_author=True, delete_after=5) + if message.content.lower().endswith((" ocho", " 8")) and not message.content.lower().endswith("endocho"): + ctx = await bot.get_context(message) + 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']}!") async def add(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], os.environ['N2']])):