RTByte/rtbyte

TypeError: Cannot read property 'action' of undefined

sentry-io opened this issue · 0 comments

Sentry Issue: RTBYTE-K

TypeError: Cannot read property 'action' of undefined
  File "/root/rtbyte/src/events/rtbyteGuildMemberUpdate.js", line 36, in module.exports.run
    if (logEntry.action === 'MEMBER_UPDATE') executor = logEntry ? logEntry.executor === member.user ? undefined : logEntry.executor : undefined;
  ?, in runMicrotasks