mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-01 13:23:59 +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...
|
Modules...
|
||||||
- can request gateway intents, cache flags and member caching policies (via methods)
|
- 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
|
- 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`
|
+ triggers `Module#enable`, `Module#disable` and `Module#reload`
|
||||||
- are automatically subscribed to the event bus
|
- 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,
|
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);`
|
- 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