mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-28 12:56:17 +01:00
Updated Home (markdown)
parent
c8b4d8de97
commit
40e86b8f11
2
Home.md
2
Home.md
@ -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);`
|
||||
|
Loading…
Reference in New Issue
Block a user