mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Mention voice channel in [p]userinfo (#2680)
* Mention voice channels, due to new discord update * Add ID part back in, as Discord doesn't have copy ID for it yet
This commit is contained in:
@@ -145,7 +145,7 @@ class ModInfo(MixinMeta):
|
||||
if voice_state and voice_state.channel:
|
||||
data.add_field(
|
||||
name=_("Current voice channel"),
|
||||
value="{0.name} (ID {0.id})".format(voice_state.channel),
|
||||
value="{0.mention} ID: {0.id}".format(voice_state.channel),
|
||||
inline=False,
|
||||
)
|
||||
data.set_footer(text=_("Member #{} | User ID: {}").format(member_number, user.id))
|
||||
|
||||
Reference in New Issue
Block a user