mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 19:28:54 -05:00
[Dev] Cast repl output to str before sending
This commit is contained in:
parent
8fa967cb91
commit
2d02dcf682
@ -222,7 +222,7 @@ class Dev:
|
||||
msg = "{}".format(value)
|
||||
|
||||
try:
|
||||
for page in pagify(msg, shorten_by=12):
|
||||
for page in pagify(str(msg), shorten_by=12):
|
||||
page = self.sanitize_output(ctx, page)
|
||||
await ctx.send(box(page, "py"))
|
||||
except discord.Forbidden:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user