From 3115d3d44b26ce2002ad87c38223815da3a5b36d Mon Sep 17 00:00:00 2001 From: Alexander Terry Date: Tue, 19 Sep 2023 15:08:42 -0800 Subject: [PATCH] mention the person being acted on with / voice act --- alexBot/cogs/voiceCommands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/alexBot/cogs/voiceCommands.py b/alexBot/cogs/voiceCommands.py index 71b7493..a155037 100644 --- a/alexBot/cogs/voiceCommands.py +++ b/alexBot/cogs/voiceCommands.py @@ -121,7 +121,9 @@ async def slash_command_proxy(self, interaction: discord.Interaction, target: st await member.edit(deafen=False, mute=False) await member.move_to(None) return await interaction.response.send_message( - f"ok, {member.display_name} is now {render_voiceState(member)}", ephemeral=member == interaction.user + f"ok, {member.mention} is now {render_voiceState(member)}", + ephemeral=member == interaction.user, + allowed_mentions=discord.AllowedMentions.all(), ) @app_commands.checks.bot_has_permissions(move_members=True)