oleoleole
All checks were successful
Update Bot / deploy-via-sftp (push) Successful in 11s
Update Bot / restart-bot (push) Successful in 5s

This commit is contained in:
2025-10-25 02:32:54 +02:00
parent 1ee266de55
commit a9795d0d9b

View File

@@ -93,7 +93,7 @@ async def add(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], os
if attr.lower() not in msg.content.lower():
await msg.edit(content=f'{msg.content}\n- {attr}')
await ctx.respond(f"Característica añadida! ", ephemeral=True)
await send_log(f"Característica añadida: {attr} por {ctx.user}")
await send_log(f"Característica añadida: {attr} por {ctx.user} en {user}")
else:
await ctx.respond("Característica ya añadida!", ephemeral=True)
@@ -123,7 +123,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
await msg.edit(content=f'{msg.content.replace(f"{NL}- {attr}", "")}')
await ctx.respond("Característica eliminada :(", ephemeral=True)
await send_log(f"Característica eliminada: {attr} por {ctx.user}")
await send_log(f"Característica eliminada: {attr} por {ctx.user} en {user}")
return
else: