From 9293a29fe707f80b8ee607298fd90be8e5675152 Mon Sep 17 00:00:00 2001 From: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Date: Wed, 29 May 2024 16:42:22 -0700 Subject: [PATCH] docs: minor grammar fix --- docs/popular-topics/cogs.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/popular-topics/cogs.mdx b/docs/popular-topics/cogs.mdx index 3c18ab34..28b34933 100644 --- a/docs/popular-topics/cogs.mdx +++ b/docs/popular-topics/cogs.mdx @@ -8,9 +8,9 @@ to avoid making your bot's files messy and cluttered. ## Getting Started -First, you'll need to create a folder to store your cogs, eg. `cogs/`. +First, you'll need to create a folder to store your cogs, e.g. `cogs/`. -Then, create a file inside the folder, eg. `cogs/greetings.py`. By convention, the file name should +Then, create a file inside the folder, e.g. `cogs/greetings.py`. By convention, the file name should be the same as the name of the cog or module. We can then create the cog. @@ -73,7 +73,7 @@ bot.load_extension('cogs.greetings') ``` This loads the file `cogs/greetings.py` and adds it to the bot. -The argument of `load_extension` should be your cog's path (eg. cogs/greetings.py) without the file +The argument of `load_extension` should be your cog's path (e.g. cogs/greetings.py) without the file extension and with the `/` replaced with `.` If you have multiple cogs, you can add them all at once by adding the following code: