def alias(aliases):
    """Decorator for slashcommand aliases that will add the same command but with different names.
    
    Parameters
    ----------
    aliases: List[:class:`str`] | :class:`str`
        The alias(es) for the command with wich the command can be invoked with

    Usage:
    
    .. code-block::
    
        @ui.slash.command(name="cats", ...)
        @ui.slash.alias(["catz", "cute_things"])
    
    """
    def wraper(command):
        if not hasattr(command, "__aliases__"):
            command.__aliases__ = []
        # Allow multiple alias decorators
        command.__aliases__.extend(aliases if not isinstance(aliases, str) else [aliases])
        return command
    return wraper