probabilidades de 9 a 1 añadidas (creo)

This commit is contained in:
binlab
2023-11-11 00:07:41 +00:00
parent 7a1f8c821c
commit 30da1784b7

View File

@@ -129,16 +129,16 @@ async def rima(ctx, message):
await ctx.reply("Pan", mention_author=True, delete_after=5) await ctx.reply("Pan", mention_author=True, delete_after=5)
elif message.content.lower().endswith("foca") and message.author != bot.user: elif message.content.lower().endswith("foca") and message.author != bot.user:
await ctx.reply(random.choice(["Está como una roca 🗿","Mi rabo en tu boca"]), mention_author=True, delete_after=5) await ctx.reply(random.choices(["Está como una roca 🗿","Mi rabo en tu boca"], k=1, weights=[9,1])[0], mention_author=True, delete_after=5)
elif message.content.lower().endswith("catalán") and message.author != bot.user: elif message.content.lower().endswith("catalán") and message.author != bot.user:
await ctx.reply(random.choices(["Por el culo te la meterán","El culo te arrasarán"], k=1, weights=[9, 1]), mention_author=True, delete_after=5) await ctx.reply(random.choices(["Por el culo te la meterán","El culo te arrasarán"], k=1, weights=[9, 1])[0], mention_author=True, delete_after=5)
elif message.content.lower().endswith("valero") and message.author != bot.user: elif message.content.lower().endswith("valero") and message.author != bot.user:
await ctx.reply(random.choices(["Te la mete en el pesquero","Apaliza a un forastero"], k=1, weights=[9,1]), mention_author=True, delete_after=5) await ctx.reply(random.choices(["Te la mete en el pesquero","Apaliza a un forastero"], k=1, weights=[9,1])[0], mention_author=True, delete_after=5)
elif message.content.lower().endswith("jueves") and message.author != bot.user: elif message.content.lower().endswith("jueves") and message.author != bot.user:
await ctx.reply(random.choice(["https://media.tenor.com/riA830QHvC8AAAAC/feliz-jueves-asuka.gif","https://media.tenor.com/L2-mDROrwgwAAAAd/racism.gif"], k=1, weights=[9,1]), mention_author=True) await ctx.reply(random.choices(["https://media.tenor.com/riA830QHvC8AAAAC/feliz-jueves-asuka.gif","https://media.tenor.com/L2-mDROrwgwAAAAd/racism.gif"], k=1, weights=[9,1])[0], mention_author=True)
except Exception as e: except Exception as e:
await send_log(f"rip. Error: ```{e}```") await send_log(f"rip. Error: ```{e}```")