📄️ Introduction to Plugins
MediaRoulette's plugin system allows you to extend the bot's functionality with custom features. You can create your own plugins or use plugins created by the community.
📄️ Creating Plugins
This guide will walk you through the process of creating your own plugins for MediaRoulette.
📄️ Adding Commands
To add a new slash command to the bot, you need to create a class that extends me.hash.mediaroulette.bot.commands.BaseCommand and register it in your plugin's onLoad() method using the static Bot.addCommands() method.
📄️ Adding Content Providers
MediaRoulette's plugin system allows you to add new content sources, such as image providers. To do this, you need to create a class that implements the me.hash.mediaroulette.plugins.Images.ImageSourcePlugin interface and register it in your plugin's onEnable() method.