mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Warnings] fix raw namedtuple output (#4904)
This commit is contained in:
parent
35dfb04066
commit
c168e55be9
@ -552,7 +552,9 @@ class Warnings(commands.Cog):
|
||||
)
|
||||
await ctx.send_interactive(
|
||||
pagify(msg, shorten_by=58),
|
||||
box_lang=_("Warnings for {user}").format(user=user),
|
||||
box_lang=_("Warnings for {user}").format(
|
||||
user=user if isinstance(user, discord.Member) else user.id
|
||||
),
|
||||
)
|
||||
|
||||
@commands.command()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user