slashCommandNameRegex top-level property
Slash command names and subcommands names have to match this regex
Implementation
final RegExp slashCommandNameRegex = RegExp(r"^[\w-]{1,32}$");
Slash command names and subcommands names have to match this regex
final RegExp slashCommandNameRegex = RegExp(r"^[\w-]{1,32}$");