fix(GuildEmoji): added a check for managed emojis in fetchAuthor (#2645)

This commit is contained in:
Yukine
2018-07-26 03:11:38 +02:00
committed by Isabella
parent c46cbbfd84
commit f963621ef1
2 changed files with 5 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ const Messages = {
WEBHOOK_MESSAGE: 'The message was not sent by a webhook.',
EMOJI_TYPE: 'Emoji must be a string or GuildEmoji/ReactionEmoji',
EMOJI_MANAGED: 'Emoji is managed and has no Author.',
REACTION_RESOLVE_USER: 'Couldn\'t resolve the user ID to remove from the reaction.',
};