mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
GuildEmoji.fetchAuthor() error handling (#2788)
* handle when client has insufficient permissions, add typing * code review
This commit is contained in:
@@ -95,6 +95,8 @@ const Messages = {
|
||||
|
||||
EMOJI_TYPE: 'Emoji must be a string or GuildEmoji/ReactionEmoji',
|
||||
EMOJI_MANAGED: 'Emoji is managed and has no Author.',
|
||||
MISSING_MANAGE_EMOJIS_PERMISSION:
|
||||
guild => `Client must have Manage Emoji permission in guild ${guild} to see emoji authors.`,
|
||||
|
||||
REACTION_RESOLVE_USER: 'Couldn\'t resolve the user ID to remove from the reaction.',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user