fix(tempvoice): update temporary channel creation message to use channel mention

This commit is contained in:
zv
2026-04-29 20:00:56 +02:00
parent eeb345b299
commit 58544309ba
2 changed files with 4 additions and 4 deletions

View File

@@ -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)