Skip to content

Commit 0af3808

Browse files
authored
Update README.md
1 parent ffd177b commit 0af3808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void onBan(SlashCommandInteractionEvent event, User user, @Optional Strin
3535
```
3636
Once a command is run, the method will return all values. As default slash command behaviour dictates, you will have 3 seconds to respond to the command through SlashCommandInteractionEvent. See the JDA wiki for [more info](https://github.com/DV8FromTheWorld/JDA/wiki/Interactions).
3737

38-
To unregister a command, simply remove any @Command reference to it and restart your Bot. It will automatically unregister globally/on the guild(s).
38+
If you want to unregister commands, add the `clearCommands` to the Builder as `true`, and remove the `@Command` annotation from your command.
3939

4040
## Listeners
4141

0 commit comments

Comments
 (0)