From 40e86b8f11c822b84cb055df50fb25104a8f0df0 Mon Sep 17 00:00:00 2001 From: Henri Schubin Date: Sun, 20 Oct 2024 14:52:31 +0300 Subject: [PATCH] Updated Home (markdown) --- Home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 4e9be25..2e25494 100644 --- a/Home.md +++ b/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);`