From 57d570ad31b914eddf3778a61f5e6f3f02c8d1ff Mon Sep 17 00:00:00 2001 From: nickpons666 Date: Fri, 20 Mar 2026 17:26:36 -0600 Subject: [PATCH] =?UTF-8?q?Est=C3=A9tica:=20Remover=20texto=20fijo=20de=20?= =?UTF-8?q?interacti=C3=B3n=20en=20Discord=20para=20limpiar=20el=20chat=20?= =?UTF-8?q?enviando=20solo=20botones=20(#6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- botdiscord/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/botdiscord/bot.py b/botdiscord/bot.py index ee6b9c3..ddea434 100644 --- a/botdiscord/bot.py +++ b/botdiscord/bot.py @@ -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}")