On Subscriber

API -

function yourEvent(user, cumulativeCount, tier)
    log('Thanks for subbing ' .. user.displayName .. '! x' .. tier);
end

return function()
    addEvent('subscriber', 'yourEvent');
    keepAlive();
end

Events are asynchronous coroutines.

Last updated