Skip to content

Commit 8c2479c

Browse files
authored
Update Application Command Naming regex (#7303)
1 parent 759a304 commit 8c2479c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interactions/Application_Commands.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Application commands are native ways to interact with apps in the Discord client
88

99
###### Application Command Naming
1010

11-
`CHAT_INPUT` command names and command option names must match the following regex `^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$` with the unicode flag set. If there is a lowercase variant of any letters used, you must use those. Characters with no lowercase variants and/or uncased letters are still allowed. `USER` and `MESSAGE` commands may be mixed case and can include spaces.
11+
`CHAT_INPUT` command names and command option names must match the following regex `^[-_'\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$` with the unicode flag set. If there is a lowercase variant of any letters used, you must use those. Characters with no lowercase variants and/or uncased letters are still allowed. `USER` and `MESSAGE` commands may be mixed case and can include spaces.
1212

1313
###### Application Command Structure
1414

0 commit comments

Comments
 (0)