[Docs] Update example cog to include base cog class (#2256)

This commit is contained in:
bobloy 2018-11-05 16:41:34 -05:00 committed by Toby Harradine
parent 57f078925e
commit d6cd959a2b

View File

@ -46,7 +46,7 @@ In that file, place the following code:
from redbot.core import commands from redbot.core import commands
class Mycog: class Mycog(commands.Cog):
"""My custom cog""" """My custom cog"""
@commands.command() @commands.command()