Skip to content

Commit

Permalink
fix command manager event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
powercasgamer authored Jun 27, 2024
1 parent d2ce0b6 commit 67859a8
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 67859a8

Please sign in to comment.