,invoke
Change what the bot says for mod actions.
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
,invoke <message|dm|view|reset|variables> <action> [text]
,invoke view ban,invoke message ban You were banned from {guild} by {moderator}.,invoke dm mute You were muted in {guild} for {duration}.,invoke reset banArguments
Square brackets are optional, angle brackets are required — the same legend ,help invoke prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
action | required | a value for this command |
text | optional | your own text |
Before you run it
What the command itself checks before it does anything, read from the src/commands/automation/invoke.js source.
- Permissions
- Manage Server
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- 3s per member, per server
Every subcommand
Call the command with no argument inside Discord and the bot draws one page per subcommand, exactly like this.
| Subcommand | What it does |
|---|---|
,invoke view<action> | show the wording one mod action currently uses |
,invoke message<action> <text> | set the message the bot posts in the server |
,invoke dm<action> <text> | set the DM the punished member receives |
,invoke reset<action|all> | restore the default wording |
,invoke variables | list the placeholders those messages accept |
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
More automation commands
Commands that usually get used alongside ,invoke.
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.