Fix infraction callbacks not working (hopefully)
This commit is contained in:
parent
ee6959d814
commit
9bb60e9c24
@ -364,6 +364,7 @@ class ModerationManager {
|
||||
const executor = guild.members.resolve(i.executor) || guild.me;
|
||||
|
||||
await new undoClass(this.client, {
|
||||
type: undoClass.type,
|
||||
reason: `AUTO-${Constant.Opposites[i.type]} from Case ${i.case}`,
|
||||
channel: guild.channels.resolve(i.channel),
|
||||
hyperlink: i.modLogMessage && i.modLogChannel ? `https://discord.com/channels/${i.guild}/${i.modLogChannel}/${i.modLogMessage}` : null,
|
||||
|
Loading…
Reference in New Issue
Block a user