From 4fe21197448834df1cb5b44bf43648ed12493c95 Mon Sep 17 00:00:00 2001 From: Henri Schubin Date: Sat, 27 Jul 2024 14:19:35 +0300 Subject: [PATCH] Updated Home (markdown) --- Home.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Home.md b/Home.md index f51ec55..6bc2283 100644 --- a/Home.md +++ b/Home.md @@ -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);`