fix(tempvoice): update temporary channel creation message to use channel mention
This commit is contained in:
@@ -378,8 +378,8 @@ class TempVoice(commands.Cog):
|
||||
return False
|
||||
|
||||
async def _send_creation_message(self, member: discord.Member, voice_channel: discord.VoiceChannel) -> None:
|
||||
content = _("{mention} your temporary channel was created: **{channel_name}**.").format(
|
||||
mention=member.mention, channel_name=voice_channel.name
|
||||
content = _("{mention} your temporary channel was created: {channel_mention}.").format(
|
||||
mention=member.mention, channel_mention=voice_channel.mention
|
||||
)
|
||||
await self._send_guild_message(member.guild, content, preferred_channel=voice_channel)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user