mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[Dev] Cast repl output to str before sending
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user