Customization Made Simple, YoBot, yo style!
Explore the docs »
Welcome to the official Cogs repository for the YoBot-Discord bot.
Cogs are essentially Python scripts that function as extension modules for your YoBot, allowing for additional functionality and customization.
⚠️ IMPORTANT: These are Python scripts which can execute arbitrary code on your system. It's crucial that you review each Cog before downloading and installing it into your YoBot. Never download a Cog from a source that you don't trust.
During the initial setup of your YoBot, the setup wizard will ask if you want to download extra Cogs from this repository. Here are the options:
-
Download all Cogs: Select this option to download and install all the available Cogs in this repository automatically.
-
Download selected Cogs: Choose this option if you want to install specific Cogs. You'll need to specify which Cogs you want to download. Check the list of Cogs in this repository for their names and functions.
-
Skip downloading Cogs: Choose this option to skip the downloading of any Cogs during the initial setup.
After your YoBot is set up and running, you can manage your Cogs with the following methods.
-
Download Cogs: Trigger the Cog download wizard by running the
getcogs
command. You can choose to download all Cogs or select specific ones. -
Reload Cogs: After the download,
getcogs
will automatically reload all the Cogs in your YoBot, ensuring any new functionality is immediately ready. -
Resync Discord Commands: The
getcogs
command also offers the option to resync the commands on your Discord server with those in your YoBot.
-
Remove Cogs: Trigger the Cog removal wizard by running
removecogs
command. You can choose to remove all Cogs not on the blacklist or select specific ones. -
Reload Cogs: After running the command you will need to restart YoBot to put the changes into effect.
-
Restart: Prepare to shutdown. Then run
quit
orexit
, and start YoBot your usual way.
-
You can add cogs to the removal blacklist by adding their names to the
blacklist
section of the config. -
This can be helpful for not accidentally removing a cog.
blacklist:
cog_removal:
- examplecog1.py
- examplecog2.py
- You can also edit these through the terminal using the
removeblacklist
(rmbl
) andaddblacklist
(addbl
) commands.
We are working on a simplified cog submission process for the YoBot community.
-
Create Your Cog: Follow the guidelines below.
- WIP
-
Submit Your Cog: Once ready, submit it for review.
- WIP
-
Verification: We'll verify your cog to ensure safety and quality.
- WIP
-
Publication: If verified, your cog will be published in the repo.
- WIP
We're also planning on a YoBot Developer Discord, a guild of sorts, where cog creators can gather, share ideas, and assist each other.
Please stay tuned for updates!
Happy building!