Updated Home (markdown)

Henri Schubin 2024-07-27 14:19:35 +03:00
parent b49e9ee1bd
commit 4fe2119744

@ -66,6 +66,7 @@ Modules...
- are enabled and disabled when DiscordSRV reloads based on the module's `isEnabled` method's return value
+ triggers `Module#enable`, `Module#disable` and `Module#reload`
- are automatically subscribed to the event bus
- intents are automatically requested based on subscribed events, with a few exceptions
Modules can be used for building plugin integrations such as permissions providers,
- The DiscordSRV class has methods to lookup modules by their type, for example: `PermissionProvider permProvider = discordSRV.getModule(PermissionProvider.class);`