slashCommandNameRegex top-level property

RegExp slashCommandNameRegex
final

Slash command names and subcommands names have to match this regex

Implementation

final RegExp slashCommandNameRegex = RegExp(r"^[\w-]{1,32}$");