Skip to main content

Overview

Every punishment command has a default confirmation message. Invoke lets you replace it — both the response posted in the channel and the DM sent to the punished member.
Requires the Manage Server permission.

Setting a command response

This is what confine posts in the channel where the command was run.

Setting a DM response

Add dm before the command name to configure what the punished member receives privately.
Both accept full embed syntax. Start your script with {embed} to build a rich embed instead of plain text — see Embed Scripting.

Supported commands

ban · hardban · softban · tempban · unban
imute, iunmute, rmute, and runmute don’t support DM responses — channel responses only.

Variables

Sub-properties like {user.name} and {moderator.mention} work the same way they do elsewhere in confine’s scripting.

Previewing

Check what’s currently configured before it goes live.

Resetting to default

Pass default as the message to clear your custom script.

Limits

Confine validates your script against Discord’s limits before saving, so you’ll get a clear error rather than a silent failure later:
Attachments aren’t supported — paste your script directly into the command.