feat(Message): replace referencedMessage with fetchReference (#5577)

This commit is contained in:
monbrey
2021-05-10 18:56:46 +10:00
committed by GitHub
parent ca9e5a0ee1
commit 1398431bca
3 changed files with 11 additions and 9 deletions

View File

@@ -96,6 +96,7 @@ const Messages = {
INVALID_ELEMENT: (type, name, elem) => `Supplied ${type} ${name} includes an invalid element: ${elem}`,
WEBHOOK_MESSAGE: 'The message was not sent by a webhook.',
MESSAGE_REFERENCE_MISSING: 'The message does not reference another message',
EMOJI_TYPE: 'Emoji must be a string or GuildEmoji/ReactionEmoji',
EMOJI_MANAGED: 'Emoji is managed and has no Author.',