!Alias

Alias Command

The Alias command allows bot owners and authorized users to create shortcut commands for existing bot commands.


Command Usage

    • !alias [originalcommand] [aliascommand]
    • !alias list
    • !alias remove [aliascommand]

    This command lets you create shortcuts, view existing aliases, or remove them.


    Creating an Alias

    You can create a shortcut for an existing command.

    Example:

    !alias help h

    Users can now run:

    !h

    Instead of typing:

    !help


    Viewing All Aliases

    To see all aliases currently configured for the bot:

    !alias list

    The bot will respond with a list of aliases and the commands they point to.

    Example:

    Aliases: h → help, p → price, s → status


    Removing an Alias

    To delete an alias, run:

    !alias remove h

    This removes the shortcut so the alias command will no longer work.


    Example Commands

    • !alias price p
    • !alias help h
    • !alias leaderboard lb
    • !alias remove lb

    These commands allow you to customize shortcuts for frequently used bot commands.


    Notes

    • Aliases work as shortcuts to existing commands.
    • Alias names cannot be the same as the original command.
    • Alias settings are stored in the bot database.
    • Aliases can be viewed or removed at any time.