Skip to main content

Overview

An alias is a nickname you assign to a command. Instead of typing the full thing every time, you define a shortcut once and confine expands it for you — optionally with parts of the command already filled in. They’re most useful for commands your staff run constantly with the same arguments. Rather than ,role @someone @Image Perms a dozen times a day, you set up ,pic @someone and be done with it.
Creating and managing aliases requires the Manage Server permission.

Creating an alias

,alias create does the same thing if you prefer that wording.

Rules for shortcuts

A few things confine won’t accept:

Filling in arguments ahead of time

The real value of aliases comes from baking arguments in. Anything typed after the alias gets slotted into numbered placeholders — {0} for the first word, {1} for the second, and upward from there. Take a normal command:
Now wrap it in an alias that locks the duration in place:
Running ,shh @financely fires ,timeout @financely 10m. The member comes from your input, the ten minutes is fixed.
Numbering starts at zero, not one. {0} is always the first thing typed after your shortcut.

Example: a one-word image permission command

Your moderators never have to remember the role name — they just tag someone.

Deleting aliases

One at a time

Every alias pointing at one command

Handy when a single command has collected several shortcuts over time.

Everything at once

,alias reset wipes every alias in the server. You’ll get a confirmation prompt with buttons first — it only listens to whoever ran the command, and times out after 30 seconds if left alone.

Checking what’s configured

Forgot what a shortcut actually does? Check it directly.
Run ,alias list for a paginated view of every alias in the server alongside the command each one runs.