From 01637a97981bf4954417a70bb7f7cd88ef39f44f Mon Sep 17 00:00:00 2001 From: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sat, 3 Apr 2021 01:56:10 +0100 Subject: [PATCH] [Docs] Use pascal casing for example cog in cog creation guide (#4930) --- docs/guide_cog_creation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide_cog_creation.rst b/docs/guide_cog_creation.rst index dbd9c2d0c..1c4de0210 100644 --- a/docs/guide_cog_creation.rst +++ b/docs/guide_cog_creation.rst @@ -83,7 +83,7 @@ In that file, place the following code: from redbot.core import commands - class Mycog(commands.Cog): + class MyCog(commands.Cog): """My custom cog""" @commands.command() @@ -96,11 +96,11 @@ Open :code:`__init__.py`. In that file, place the following: .. code-block:: python - from .mycog import Mycog + from .mycog import MyCog def setup(bot): - bot.add_cog(Mycog()) + bot.add_cog(MyCog()) Make sure that both files are saved.