slashCommandNameRegex top-level property
Slash command names and subcommands names have to match this regex
Implementation
final RegExp slashCommandNameRegex = RegExp(r"^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$", unicode: true);
Slash command names and subcommands names have to match this regex
final RegExp slashCommandNameRegex = RegExp(r"^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$", unicode: true);