Skip to content

Commit

Permalink
mention the person being acted on with / voice act
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Sep 19, 2023
1 parent 397d320 commit 3115d3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alexBot/cogs/voiceCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3115d3d

Please sign in to comment.