commandNameRegexp top-level property Null safety
final
A pattern all command and argument names should match.
For more inforrmation on naming restrictions, check the Discord documentation.
Implementation
final RegExp commandNameRegexp = RegExp(
r'^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$',
unicode: true,
);