mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch master: a685d24504
This commit is contained in:
parent
cfd32ad000
commit
83afd297cc
2 changed files with 3 additions and 3 deletions
|
|
@ -13288,10 +13288,10 @@ class GuildAuditLogsEntry {
|
||||||
return this.target;
|
return this.target;
|
||||||
});
|
});
|
||||||
} else if (targetType === Targets.INVITE) {
|
} else if (targetType === Targets.INVITE) {
|
||||||
const change = this.changes.find(c => c.name === 'code');
|
const change = this.changes.find(c => c.key === 'code');
|
||||||
this.target = guild.fetchInvites()
|
this.target = guild.fetchInvites()
|
||||||
.then(invites => {
|
.then(invites => {
|
||||||
this.target = invites.find(i => i.code === (change.new || change.old));
|
this.target = invites.find(i => i.code === (change.new_value || change.old_value));
|
||||||
return this.target;
|
return this.target;
|
||||||
});
|
});
|
||||||
} else if (targetType === Targets.MESSAGE) {
|
} else if (targetType === Targets.MESSAGE) {
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue