tmijs/tmi.js

Custom Reward Redemption not catched

jokoast opened this issue · 1 comments

Hello,

I'm trying to catch Reward Redemption message in chat but using

client.on('redeem', (channel, username, rewardType, tags) => {
    console.log(username);
    console.log(rewardType);
});

catches only the "basic" rewards, not the custom ones.

I tried to look into the documentation but the "redeem" event isn't listed (but added in v1.7.0)

Actual behaviour:
Nothing shows up when i try my custom "VIP 1month" reward

Expected behaviour:
Something would show up

Error log:

Insert your error log here

Server configuration

  • Operating system: Windows
  • Node version (if applicable):
  • NPM version (if applicable):
  • tmi.js version: 1.7.5
qludy commented

My bad, EventSub is the new way to catch ALL rewards. Otherwise, just add a "User has to enter text" in order to catch it.