mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Update GuildAuditLogs.js (#1456)
This commit is contained in:
parent
ac5d4d1050
commit
caf96339e0
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ const Actions = {
|
|||
EMOJI_CREATE: 60,
|
||||
EMOJI_UPDATE: 61,
|
||||
EMOJI_DELETE: 62,
|
||||
MESSAGE_DELETE: 72,
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -112,6 +113,7 @@ class GuildAuditLogs {
|
|||
Actions.INVITE_DELETE,
|
||||
Actions.WEBHOOK_DELETE,
|
||||
Actions.EMOJI_DELETE,
|
||||
Actions.MESSAGE_DELETE,
|
||||
].includes(action)) return 'DELETE';
|
||||
|
||||
if ([
|
||||
|
|
|
|||
Loading…
Reference in a new issue