mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[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
This commit is contained in:
parent
892b2487f5
commit
af220e497f
@ -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"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user