def event(name, concurrent=False):
    def decorate(function):
        function.concurrent = concurrent
        events["high"].setdefault(name, [])
        events["high"][name].append(function)
        return function
    return decorate

# decorators = (command, named, event)
Decorate a function to match IRC events
dataset/ETHPy150Open sbp/duxlot/functions.py/event