Skip to content

Commit

Permalink
fix command manager event listener (#41)
Browse files Browse the repository at this point in the history
<!-- readthedocs-preview incendocloud start -->
----
πŸ“š Documentation preview πŸ“š:
https://incendocloud--41.org.readthedocs.build/en/41/

<!-- readthedocs-preview incendocloud end -->

Co-authored-by: Josh Taylor <[email protected]>
  • Loading branch information
powercasgamer and broccolai authored Aug 12, 2024
1 parent 54fb2b1 commit 2ed9e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/discord/jda5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
```

Expand Down

0 comments on commit 2ed9e78

Please sign in to comment.