Redeem a channel reward

I trigger a chat command through a channel reward with the bot. Set for a while it no longer works.
If I want to test the event using the test button, I only get an error:

2021-02-24T20:47:19.083 !!! ERROR !!! User SarcasticPepperonis not found on Twitch.
2021-02-24T20:47:19.088 !!! ERROR !!! Possibly Unhandled Rejection at: Promise {
  <rejected> TypeError: Cannot read property 'id' of undefined
      at Object.getIdFromTwitch (/app/src/bot/microservices/getIdFromTwitch.ts:53:40)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
      at Users.getIdByName (/app/src/bot/users.ts:222:24)
      at Object.fireRunCommand [as fire] (/app/src/bot/events.ts:413:60)
} reason: TypeError: Cannot read property 'id' of undefined

And when a channel reward is bought I don’t see an error or anything else in the LOG. Still it doesn’t work.

Oh right this is test, will fix thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.