Update GuildAuditLogs.js (#1456)

This commit is contained in:
Gus Caplan 2017-05-03 17:50:08 -05:00 committed by Crawl
parent ac5d4d1050
commit caf96339e0

View file

@ -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 ([