thomaslule / twitch-channel

an event emitter for your twitch channel
8 stars 2 forks source link

reward-redeem isn't working #14

Closed AhhhSaturn closed 2 years ago

AhhhSaturn commented 2 years ago

I made an event-redeem event listener but for some reason it doesn't work.

channel.on("reward-redeem", ({ rewartTitle }) => {
    console.log('RUN redeem')
    console.log(rewartTitle);
    console.log(rewardCost);
});

When i redeem an event it doesn't run any of the function.

channel.on("chat", ({ message }) => {
    console.log(message);
});

this code works, it just seems like it's just reward-redeem that doesn't.

AhhhSaturn commented 2 years ago

being a dumb ass, all is working