rtbyte
rtbyte copied to clipboard
TypeError: Cannot read property 'settings' of undefined
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');
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.