Doorman
🌐 English

Help center › Community

Scripts in custom commands

What it does

Custom command responses can react to who uses them and what they type.

Tags

  • {choose:a|b|c} – picks one at random.
  • {if:{arg:1}==yes|Great!|Too bad.} – compares two values (also !=, >, <).
  • {range:1-6} – a random number.
  • {arg:1}, {args} – the words after the command.
  • {require:Moderator|Not for you.} – only for members with that role.
  • {blacklist:#general} – not in that channel.
  • {delete}, {dm}, {react:👍} – delete the command message, answer by DM, add a reaction.

Good to know

  • Press Test under Custom commands → Scripts in responses to see the result before you save.
  • Scripts never ping @everyone or roles.

← All help topics