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.