cambio a elifs para mejorar la eficiencia
This commit is contained in:
6
main.py
6
main.py
@@ -40,15 +40,15 @@ async def on_message(message):
|
||||
if message.content.startswith(f'{PREFIX}helpme'):
|
||||
await message.channel.send(make_help())
|
||||
|
||||
if message.content.lower().endswith("murciano"):
|
||||
elif message.content.lower().endswith("murciano"):
|
||||
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", "5", "25", "veinticinco")):
|
||||
elif 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", "8")) and not message.content.lower().endswith("endocho"):
|
||||
elif 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user