From 83aa17f37547a1f82ee2d7973b422d59db36e978 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sat, 11 May 2019 11:57:44 -0500 Subject: [PATCH] Fixed help command formatting --- GeoffreyBot/geoffrey.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GeoffreyBot/geoffrey.py b/GeoffreyBot/geoffrey.py index a80f167..bbc9201 100644 --- a/GeoffreyBot/geoffrey.py +++ b/GeoffreyBot/geoffrey.py @@ -142,8 +142,7 @@ class GeoffreyBot(commands.Bot): await ctx.send(msg) def build_help_page(self): - help_list = ["```"] - + help_list = [] largest_command_size = 0 for command in self.command_list: if largest_command_size < len(command["command"]): @@ -158,7 +157,7 @@ class GeoffreyBot(commands.Bot): help_list.append(" {}{}{}".format(self.prefix, name, command["help"])) help_list.append("\nDo ?help to get more info on any of the commands above") - help_list.append("```") + return help_list