From 2d02dcf6827bcfffcfd912c7d731f13c4d8a3af5 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Sat, 24 Jun 2017 20:41:02 +0200 Subject: [PATCH] [Dev] Cast repl output to str before sending --- core/dev_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dev_commands.py b/core/dev_commands.py index 45a2feffb..7e26acb49 100644 --- a/core/dev_commands.py +++ b/core/dev_commands.py @@ -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: