mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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:
parent
9d0ca00f89
commit
c5d2ae5831
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user