Estética: Remover texto fijo de interactión en Discord para limpiar el chat enviando solo botones (#6)

This commit is contained in:
2026-03-20 17:26:36 -06:00
parent 5633f51b24
commit 57d570ad31

View File

@@ -108,7 +108,7 @@ async def on_member_join(member):
)
view = WelcomeTranslationView(member.guild.id)
await welcome_msg.edit(content=formatted_message + "\n\n¿Traducir este mensaje?", view=view)
await welcome_msg.edit(content=formatted_message, view=view)
print(f"[WELCOME] Vista de traducción añadida")
except Exception as e:
@@ -177,7 +177,7 @@ async def on_message(message):
view.add_item(TranslationButton(name, code, flag))
try:
await message.reply("¿Traducir este mensaje?", view=view, mention_author=False)
await message.reply(content=None, view=view, mention_author=False)
except Exception as e:
print(f"Error enviando reply: {e}")