AnIdiotsGuide/discordjs-bot-guide

Auditlog doesn't work properly

Owned67 opened this issue · 2 comments

let user; if (entry.extra.channel.id === message.channel.id && (entry.target.id === message.author.id) && (entry.createdTimestamp > (Date.now() - 5000)) && (entry.extra.count >= 1)) { user = entry.executor.username } else { user = message.author.username }

${user} return a bad value sometimes... (wrong user)

can you fix it please?

Do you have a screenshot?

Please join https://discord.gg/4NE4bk7 for any further help with this issue.