From 914ee90f70bf9b77ee9c4025cbb596e253fd95c8 Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Tue, 5 Jun 2018 23:05:04 -0800 Subject: [PATCH] Added correct prefix and suffix for py code --- exts/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/admin.py b/exts/admin.py index 0a9a580..e812e46 100644 --- a/exts/admin.py +++ b/exts/admin.py @@ -193,7 +193,7 @@ class Admin: @commands.command() @commands.is_owner() async def view_code(self, ctx, code_name): - pag = utils.Paginator() + pag = utils.Paginator(prefix='```py', suffix='```') pag.add(inspect.getsource(self.bot.get_command(code_name).callback)) for page in pag.pages(): await ctx.send(page)