From 18c0fd6fc24cfb7cfe86ac3f2f72faf3863f624a Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 15 Mar 2021 10:07:16 -0400 Subject: [PATCH] Don't ask to load if it's Core --- cogguide/cogguide.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cogguide/cogguide.py b/cogguide/cogguide.py index 00fb4a2..5a828e4 100644 --- a/cogguide/cogguide.py +++ b/cogguide/cogguide.py @@ -212,11 +212,14 @@ This is the cog guide for the {lower_cog_name} cog. You will find detailed docs about usage and commands. ``[p]`` is considered as your prefix. - +""" + if camel_cog_name != "Core": + intro += f""" .. note:: To use this cog, load it by typing this:: [p]load {'customcom' if lower_cog_name == 'customcommands' else lower_cog_name} - +""" + intro += f""" .. _{lower_cog_name}-usage: ----- @@ -226,6 +229,7 @@ Usage {prepare_description(cog, url_command)} """ + cog_commands_intro = f""" .. {reference}-commands: