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.
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.
Gateway
How to use the Gateway plugin in Carbon to receive non-webhook events from Discord.
Gateway Forwarder
Forward Discord Gateway events to your application as webhook-style events
Edit on GitHub
Last updated on