slashCommandNameRegex top-level property

RegExp slashCommandNameRegex
final

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);