mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -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(
|
await ctx.send_interactive(
|
||||||
pagify(msg, shorten_by=58),
|
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()
|
@commands.command()
|
||||||
|
|||||||
Reference in New Issue
Block a user