From af220e497f38e9482677aaaee492439d7ad7cafb Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sun, 9 Sep 2018 06:35:22 -0700 Subject: [PATCH] [Docs] Update sample cog (#2072) * [V3 Docs] Update sample cog * Remove self.bot assignment We don't really do this any more unless we need to --- docs/guide_cog_creation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide_cog_creation.rst b/docs/guide_cog_creation.rst index 577c07ef9..44b117c9c 100644 --- a/docs/guide_cog_creation.rst +++ b/docs/guide_cog_creation.rst @@ -44,7 +44,7 @@ In that file, place the following code: .. code-block:: python - from discord.ext import commands + from redbot.core import commands class Mycog: """My custom cog"""