mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
[Warnings] fix raw namedtuple output (#4904)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user