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

# Command Aliases

> Create custom redirects and shortcuts for your favorite commands.

# Command Aliases

The **Alias** system allows server administrators to create custom command names that point to existing bot commands. This is perfect for localizing commands or creating shorter, more convenient shortcuts for your community.

## How it Works

Aliases act as direct redirects. When a user runs a custom alias, Veronica executes the target command with the exact same logic.

### Configuration

Use the `/alias` command to manage your server's custom mappings.

<Steps title="Configuration Workflow">
  <Step title="Add an Alias">
    Map a new name to an existing command.

    ```bash theme={null}
    /alias add command:userinfo alias:whois
    ```

    <Check>Command redirected! Running `,whois` will now trigger the `,userinfo` command.</Check>
  </Step>

  <Step title="List Existing Aliases">
    View all active mappings in your server:

    ```bash theme={null}
    /alias list
    ```

    <Check>Audit your custom shortcuts.</Check>
  </Step>

  <Step title="Remove an Alias">
    Delete a mapping when it's no longer needed:

    ```bash theme={null}
    /alias remove alias:whois
    ```

    <Check>Alias successfully wiped from server memory.</Check>
  </Step>
</Steps>

## Command Reference

| Command         | Description                           | Permission      |
| :-------------- | :------------------------------------ | :-------------- |
| `/alias add`    | Create a new custom command redirect  | `Manage Server` |
| `/alias remove` | Delete a custom alias                 | `Manage Server` |
| `/alias list`   | View all active aliases in the server | `Manage Server` |

## Use Cases

* **Localization:** Rename commands to match your community's primary language (e.g., mapping `ban` to `proibir`).
* **Shortcuts:** Create shorter versions of long commands (e.g., mapping `moderationhistory` to `modhx`).
* **Custom Branding:** Align command names with your server's theme or lore.

## Best Practices

<AccordionGroup>
  <Accordion title="Avoid Conflicts">
    You cannot create an alias that has the same name as an existing Veronica command or another active alias.
  </Accordion>

  <Accordion title="Keep it Memorable">
    Short, intuitive aliases are more likely to be used by your community.
  </Accordion>

  <Accordion title="Prefix Support">
    Aliases work seamlessly with both **Slash Commands** and **Prefix Commands** (`,`).
  </Accordion>
</AccordionGroup>

<Note>
  Custom aliases are server-specific. Aliases created in one server will not be available in another.
</Note>
