Probabilidades añadidas?

This commit is contained in:
binlab
2023-11-11 00:05:36 +00:00
parent f12fda5620
commit 7a1f8c821c

10
main.py
View File

@@ -105,16 +105,12 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
await send_log(f"rip. Error: ```{e}```")
'''@tasks.loop(seconds = 5.0)
async def mensaje_jueves():
channel = bot.get_channel(1051497546708697120)
await channel.send("prueba")
'''
async def rima(ctx, message):
try:
if message.content.lower().endswith("murciano") and message.author != bot.user:
@@ -136,13 +132,13 @@ async def rima(ctx, message):
await ctx.reply(random.choice(["Está como una roca 🗿","Mi rabo en tu boca"]), mention_author=True, delete_after=5)
elif message.content.lower().endswith("catalán") and message.author != bot.user:
await ctx.reply(random.choice(["Por el culo te la meterán","El culo te arrasarán"]), 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]), mention_author=True, delete_after=5)
elif message.content.lower().endswith("valero") and message.author != bot.user:
await ctx.reply(random.choice(["Te la mete en el pesquero","Apaliza a un forastero"]), 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]), mention_author=True, delete_after=5)
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"]), mention_author=True)
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)
except Exception as e:
await send_log(f"rip. Error: ```{e}```")