Fix error when logging bans

This commit is contained in:
Dragory 2020-07-29 01:15:00 +03:00
parent 4a6f28b17b
commit b82196058a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -11,7 +11,7 @@ export const LogsGuildBanAddEvt = logsEvent({
const user = meta.args.user;
const relevantAuditLogEntry = await findRelevantAuditLogEntry(
pluginData.guildConfig,
pluginData.guild,
ErisConstants.AuditLogActions.MEMBER_BAN_ADD,
user.id,
);