Skip to main content

Durations

A number followed by a unit, no spaces: Units can be chained — 2d3h is two days and three hours.
Some commands only accept units up to days. If a duration is rejected, drop the w and use days instead.

Positions and timestamps

A few commands take a position in a track rather than a length of time. These accept m:ss or a plain number of seconds.

Targeting things

Mentions, IDs, and names all work:
Name matching is partial, so ,log add log messages finds #logs too. When several channels match, confine takes the first.

Yes or no

Toggles accept any of these:

Colors

Hex codes work with or without the #, and 0x is accepted too:
Color names work as well, though the available names differ slightly between commands. red, green, blue, yellow, orange, purple, and white are safe everywhere.
If a color name is rejected, use the hex code instead — those are accepted by every command that takes a color.

Flags

Flags go after the main arguments and start with $:

Punishments

Commands with a $punishment flag accept:
jail needs your moderation system set up — run ,setup first.

Removing by list position

Some commands let you target an entry by its number in the list output rather than by name. Run list first, then use select: with the number.
Useful when the thing you’re removing no longer exists — a deleted channel, for instance — and there’s no name left to type.

Multiple values

Where a command takes several roles at once, separate them with commas:
Spaces work as separators for permissions too.

Emojis

Standard Unicode emojis and custom server emojis both work. Custom emojis have to be from a server confine is in.

Images

Image URLs must be hosted on Discord’s CDN — links from elsewhere are rejected.
Upload the image to any Discord channel, then right-click it and copy the link. That produces a URL confine accepts.
Many commands also accept an image attached directly to your command message.

Multi-word arguments

Anything at the end of a command absorbs the rest of the message, so quotes aren’t needed:
Arguments in the middle can’t contain spaces unless the command specifically supports it — that’s why role and channel names are usually easier to pass as mentions.