🎉 Launch offer: the next 5 servers get 30 days free. Claim a spot →
All topics & search

Guide/Automation/Autoresponders, custom commands & variables

Discord Autoresponder & Custom Commands Bot

Text triggers, custom commands, buttons, server variables and command overrides.

Quick answer

Text trigger with a role action

!autoresponder create rules contains "where are the rules" "Rules are in #rules, {user.mention}"
!autoresponder actions rules [{"type":"addRole","roleId":"123456789012345678"}]
!autoresponder test rules "hey where are the rules?"
!customcommand create socials "Follow us: https://…"
!commandoverride disable slots
Dashboard → Configuration → Commands: "Only in channels" restricts a command to a channel list

Ask the guide

Step by step

Autoresponders

A trigger (text match or a button) runs a list of actions when its conditions pass. Match types: exact, contains, starts_with, ends_with, word, regex (safe subset).

!autoresponder create rules contains "where are the rules" "Rules are in #rules, {user.mention} 🙂"
!autoresponder edit rules cooldown:30 scope:channel priority:5 channel:#general delete_trigger:true case_sensitive:false
!autoresponder actions rules [{"type":"addRole","roleId":"…"},{"type":"react","emoji":"✅"}]
!autoresponder conditions rules [{"type":"hasRole","roleId":"…"}]
!autoresponder test rules "hey where are the rules?"
!autoresponder post verify "I agree" success #rules "Press to agree to the rules"     button responder
!autoresponder list · info · enable · disable · delete · help
Action typeDoes
sendMessage · sendEmbed · dmReply with text or a custom embed, or DM the member
react · deleteMessageReact to / delete the triggering message
addRole · timeoutUser · warnModeration-flavoured actions
triggerCommandRun another command
if · weighted · onceFlow control: conditional branches, weighted random outcomes, run once per member

Conditions: hasRole, notRole, isBooster, newMember, accountAge, channel, permission, time, chance, textEquals, argCount, balanceAtLeast, balanceBelow, combined with any and not. !autoresponder help prints every action, condition, variable and function with its JSON shape. Limits: 25 actions, nesting depth 4.

Custom commands

!customcommand create socials "Follow us: https://… {user.mention}" "Our links"
!customcommand create roll "You rolled {random:1-{args.1}}" · !cc args roll [{"name":"sides","type":"integer","required":false,"default":6}]
!customcommand list · info · enable · disable · delete

Custom commands run as <prefix>word and support {args}, {args.1}, typed argument definitions and the same actions/conditions as autoresponders.

Server variables & command overrides

!variable set discord https://discord.gg/…        then use {var.discord} anywhere
!variable list · !variable delete discord
!commandoverride disable slots · !commandoverride enable slots
!commandoverride channel rank #bot-commands allow · !commandoverride role ban @Trial deny · !commandoverride list

Copy and try

Text trigger with a role action

!autoresponder create rules contains "where are the rules" "Rules are in #rules, {user.mention}"
!autoresponder actions rules [{"type":"addRole","roleId":"123456789012345678"}]
!autoresponder test rules "hey where are the rules?"
!customcommand create socials "Follow us: https://…"
!commandoverride disable slots
Dashboard → Configuration → Commands: "Only in channels" restricts a command to a channel list

Good to know

  • Actions run under the invoking member's permissions; a button cannot ban unless the presser could.
  • Limits: 25 actions, nesting depth 4, plan caps on the number of responders.

Still stuck? Ask in the support server.

Discord Autoresponder & Custom Commands Bot · Sweet