Flags & Debug
ignoreTriggerCase
$ignoreTriggerCase
In BDFD (premium) this declaration makes a prefix command trigger case-insensitive.
Syntax
$ignoreTriggerCase
Behavior
- Takes no argument and returns an empty string.
- Bot Creator already matches triggers and aliases without regard to case (
!HeLprunshelp), and the trigger is decided before any script runs. The declaration is accepted so that imported BDFD code works, but it changes nothing.
Examples
$ignoreTriggerCase
Pong!
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.