Plugins
Plugins in Carbon are modular components that extend the functionality of the core system. They allow for the addition of specific features or integrations separate from the client itself. Each plugin encapsulates a distinct piece of functionality, such as handling specific types of requests, managing user roles, or integrating with external services.
In Carbon, plugins are implemented as classes that extend the base Plugin class. They can be instantiated and configured with various options to tailor their behavior to the needs of the application. For example, the LinkedRoles plugin manages user roles and OAuth routes, providing a way to verify and assign roles based on specific criteria.
Client Manager
How to use the ClientManager to host multiple Discord bots from a single Carbon instance.
Gateway Event Sending
How to send events through the Gateway to update bot presence, voice state, and request guild members.
Gateway Forwarder
Forward Discord Gateway events to your application as webhook-style events
Gateway
How to use the Gateway plugin in Carbon to receive non-webhook events from Discord.
Linked Roles
How to use Linked Roles in Carbon to create roles that users can claim based on specific criteria, including setup and deployment instructions.
Edit on GitHub
Last updated on
