def botcommand(*names):
    """Mark function as command. 

    (for extensions)

    Parameters
    ----------
    *names : str
        Name/s to invoke the command.
        Default: name of function.
    """

    def decorator(func):
        command_names = names if names != () else func.__name__

        func.command_names = command_names
        func.command_flag = True

        return func
    return decorator