Fix error when logging bans
This commit is contained in:
parent
4a6f28b17b
commit
b82196058a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export const LogsGuildBanAddEvt = logsEvent({
|
||||||
const user = meta.args.user;
|
const user = meta.args.user;
|
||||||
|
|
||||||
const relevantAuditLogEntry = await findRelevantAuditLogEntry(
|
const relevantAuditLogEntry = await findRelevantAuditLogEntry(
|
||||||
pluginData.guildConfig,
|
pluginData.guild,
|
||||||
ErisConstants.AuditLogActions.MEMBER_BAN_ADD,
|
ErisConstants.AuditLogActions.MEMBER_BAN_ADD,
|
||||||
user.id,
|
user.id,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue