aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2023-05-17 12:06:12 +0530
committerGravatar RohanJnr <[email protected]>2023-05-17 12:06:12 +0530
commitc62158ed52e3e593624ec2f944653277b758d70a (patch)
treebd64492c13a04d4cc8ff4a58bf9e68f68ffac2a8 /pydis_site
parentremove typo (diff)
give a simple introduction to cogs and example links
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md b/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
index f2b70e33..cbb2ad83 100644
--- a/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
+++ b/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
@@ -55,4 +55,4 @@ async def start_time(ctx):
token = YOUR_TOKEN_HERE
bot.run(token)
```
-With the above example, you are not required to change any of the existing or future code, it is identical to code done without subclassing bot. \ No newline at end of file
+The next step would be to look into discord.py cogs as they help in organizing of collection of commands into various files and folders. Refer to https://discordpy.readthedocs.io/en/stable/ext/commands/cogs.html for more on cogs. Here is an example of cogs https://gist.github.com/EvieePy/d78c061a4798ae81be9825468fe146be (*Credit to EvieePy*). \ No newline at end of file