diff --git a/docs/wiki/basic-tutorials/interactions/commands.md b/docs/wiki/basic-tutorials/interactions/commands.md index 46e95de..28511c1 100644 --- a/docs/wiki/basic-tutorials/interactions/commands.md +++ b/docs/wiki/basic-tutorials/interactions/commands.md @@ -252,6 +252,7 @@ api.batchUpdateSlashCommandPermissions(server, Arrays.asList(builder1, builder2) - Your app cannot have two server commands within the same name on the same guild - Your app can have a global and guild command with the same name - Multiple apps can have commands with the same names +- Command names and command option names must match the following regex `^[\w-]{1,32}$` with the unicode flag set. ### General - An app can have up to 100 top-level global commands with unique names - An app can have up to an additional 100 server commands per server @@ -261,4 +262,4 @@ api.batchUpdateSlashCommandPermissions(server, Arrays.asList(builder1, builder2) - Options can have up to 25 choices - Maximum of 4000 characters for combined name, description, and value properties for each command and its subcommands and groups - Limitations on nesting subcommands and groups -- Global rate limit of 200 slash command creates per day per server \ No newline at end of file +- Global rate limit of 200 slash command creates per day per server