Add javadoc comment
This commit is contained in:
parent
24a55e14fd
commit
c4d81fb0e4
@ -36,6 +36,13 @@ public class CommandUtil
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method to update slash commands registered on Discord's side.
|
||||||
|
* It runs automatically every time the bot starts, but only updates the commands in case differences
|
||||||
|
* are found, unless forced.
|
||||||
|
*
|
||||||
|
* @param force a boolean specifying if the update should be forced even if no differences were found.
|
||||||
|
*/
|
||||||
public static void updateSlashCommands(boolean force)
|
public static void updateSlashCommands(boolean force)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user