Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Other Add ons

appu1232 edited this page Aug 1, 2017 · 2 revisions

Custom Cogs

General info: The cogs folder is home to most of the bot's commands. Each py file here is a "cog" which the bot loads on startup, giving it access to the commands the cog has. Adding a custom cog is as simple as dropping it in the cogs folder and restarting the bot or executing the command load cogs.name_of_cog where name_of_cog is the file name.

Currently, the bot supports several add-ons that can be downloaded already with the >cog command. Here are all of them.

Installing Add-ons

  • >cog list - view the list of available add-ons
  • >cog view <name of cog> - view info about this cog (what it does, who made it, etc.)
  • >cog install <name of cog> - installs the cog
    • Follow this up with >load cogs.name_of_cog to load the cog and start using it.

Creating add-ons and adding it to the cogs list

  • This will require python experience as well as some experience with discord.py at the minimum. If you know what you are doing, create the cog and ensure that it works without any problems with the bot. Then, add it to the cogs list by following these instructions. This will allow anyone that uses this bot to seemlessly download and install your cog via the >cogs command as shown above.