Skip to main content

Command Aliases

Create shortcuts to invoke other commands.

Overview

Command aliases allow you to create custom commands that run other commands. This can be useful for creating shorter or more memorable commands for your server. For example, you could create an alias that runs the ban command with a custom name like deport.

Creating an alias

Predefined arguments

You can use predefined arguments in your aliases. If you want to pass what the user types into the alias, use {0} for the first argument, {1} for the second, and so on.
Below is an example of an alias that uses predefined arguments:
This alias runs the timeout command where {0} is replaced by whoever you mention, and 10m is fixed as the duration.

Making a command to grant image permissions

If you want to create a command that grants a specific role to a user, you can use the following alias which invokes the role command with the predefined image role.

Removing an alias

See what command a shortcut invokes.