RTByte/rtbyte

TypeError: Cannot read property 'id' of null

sentry-io opened this issue · 0 comments

Sentry Issue: RTBYTE-F

TypeError: Cannot read property 'id' of null
  File "/root/rtbyte/src/lib/structures/ModEmbed.js", line 72, in ModEmbed.send
    return await this.modCase.user.send(this.modCase.moderator.id === this.client.user.id ?
  ?, in runMicrotasks
  File "/root/rtbyte/src/events/rtbyteGuildBanAdd.js", line 36, in async module.exports.run
    await embed.send();