> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arjex.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Aliases in Arjex Music 1.0.0

> Configure 1.0.0 shortcuts per bot or across bots, with prefix-free behavior and role allowlists or blocklists.

You are reading the docs for Arjex Music 1.0.0. The latest version is 1.1.0. [Read the 1.1.0 docs](https://docs.arjex.team/music.md).

Arjex Music 1.0.0 supports command shortcuts per bot or shared across all bots. Set `aliasMode` to `perBot` or `shared`.

> [tab] Per bot
>
> This is the default. Each bot uses only the aliases inside its own `bots[]` entry. The top-level `aliases` object is ignored.

> [tab] Shared
>
> Each bot also inherits the top-level `aliases` object. If the same shortcut exists at both levels, that bot's entry wins.

## Alias entries

An alias value can be a command-name string or an object. Object entries require `command`; optional fields are `disableOriginal` (default `false`), `prefix` (default `true`), `roles`, and `blacklistedRoles`. Alias keys must contain 1 to 30 characters and no spaces. Role IDs in `roles` and `blacklistedRoles` must be 17 to 20 digits.

* Set `prefix` to `false` to allow the shortcut without a command prefix.
* `roles` is an allowlist. Empty or omitted means everyone can use the shortcut.
* `blacklistedRoles` blocks those roles even if they are in `roles`.
* Administrators bypass alias role limits.
* Aliases apply live, including changes to `aliasMode`. Conflicting `disableOriginal` values for the same command are rejected.
* Administrator commands are not aliased through this configuration.

## Valid shared alias example

This full example follows the supplied schema. It uses placeholder credentials and IDs.

```json theme={null}
{
  "mode": "production",
  "commandMode": "voice",
  "defaultPrefix": ".",
  "guildId": "123456789012345678",
  "aliasMode": "shared",
  "aliases": {
    "play-ar": {
      "command": "play",
      "disableOriginal": true,
      "prefix": false,
      "roles": [],
      "blacklistedRoles": []
    }
  },
  "bots": [
    {
      "token": "YOUR.BOT.TOKEN",
      "clientId": "123456789012345678",
      "voiceChannelId": "123456789012345678",
      "aliases": {
        "st": {
          "command": "skipto",
          "disableOriginal": false,
          "prefix": false,
          "roles": [],
          "blacklistedRoles": []
        }
      }
    }
  ]
}
```

> [card] [Global configuration](https://docs.arjex.team/music/v1/reference/configuration/global.md)
>
> Set the alias scope.

> [card] [Bot configuration](https://docs.arjex.team/music/v1/reference/configuration/bots.md)
>
> Add aliases to one bot.


## Related topics

- [Commands for Arjex Music 1.0.0](https://docs.arjex.team/music/v1/reference/commands.md)
- [Global settings for Arjex Music 1.0.0](https://docs.arjex.team/music/v1/reference/configuration/global.md)
- [Live configuration in Arjex Music 1.0.0](https://docs.arjex.team/music/v1/concepts/live-config.md)
- [Security for Arjex Music 1.0.0](https://docs.arjex.team/music/v1/ops/security.md)
- [Arjex Music 1.0.0 overview](https://docs.arjex.team/music/v1/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.