Update GuildAuditLogs.js (#1456)

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

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