Updated Home (markdown)

Henri Schubin 2024-10-20 14:52:31 +03:00
parent c8b4d8de97
commit 40e86b8f11

@ -63,10 +63,10 @@ Additionally the `:api` module includes a annotation processor which will cause
Modules...
- can request gateway intents, cache flags and member caching policies (via methods)
+ intents are automatically requested based on subscribed events, with a few exceptions
- 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);`