commandNameRegexp top-level property

RegExp commandNameRegexp
final

A pattern all command and argument names should match.

For more information 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,
);