From 2ed9e78db05c757c8db121a72af288546bc8c870 Mon Sep 17 00:00:00 2001 From: powercas_gamer Date: Mon, 12 Aug 2024 20:52:23 +0200 Subject: [PATCH] fix command manager event listener (#41) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ---- 📚 Documentation preview 📚: https://incendocloud--41.org.readthedocs.build/en/41/ Co-authored-by: Josh Taylor --- docs/discord/jda5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/discord/jda5.md b/docs/discord/jda5.md index 73ff4b9..8ea1b11 100644 --- a/docs/discord/jda5.md +++ b/docs/discord/jda5.md @@ -35,7 +35,7 @@ You then register the command manager as a JDA event listener. Example: ```java JDABuilder.createDefault(yourToken) - .addEventListeners(commandManager) + .addEventListeners(commandManager.createListener()) .build(); ```