rtbyte icon indicating copy to clipboard operation
rtbyte copied to clipboard

TypeError: Cannot read property 'settings' of undefined

Open sentry[bot] opened this issue 4 years ago • 1 comments

Sentry Issue: RTBYTE-1J

TypeError: Cannot read property 'settings' of undefined
  File "/root/rtbyte/src/tasks/twitchNotifications.js", line 10, in module.exports.run
    const twitchNotifsEnabled = guild.settings.get('twitch.twitchNotifsEnabled');

sentry[bot] avatar Feb 04 '21 12:02 sentry[bot]

This issue is due to the task for a Twitch notification check not being deleted if the server is removed.

I've sorted this issue out in the current build with a way for me to fix it manually if it crops up again, but I'm not gonna bother fixing the issue itself as we're currently working on the rewrite.

Logging this here for tracking purposes.

noragerdin avatar Feb 04 '21 12:02 noragerdin