human
Complete this python program:
def intent(*intent_list):
assistant
#Here is the Python program you requested.

    """Decorate a callable trigger on a message with any of the given intents.
    .. versionadded:: 5.2.0
    """
    def add_attribute(function):
        if (not hasattr(function, u'intents')):
            function.intents = []
        function.intents.extend(intent_list)
        return function
    return add_attribute