feat(WebhookClient): allow creation of clients via URLs (#6192)

This commit is contained in:
Justin
2021-07-29 18:48:43 +08:00
committed by GitHub
parent 42a0313034
commit e000af5c98
4 changed files with 39 additions and 6 deletions

View File

@@ -101,6 +101,7 @@ const Messages = {
WEBHOOK_MESSAGE: 'The message was not sent by a webhook.',
WEBHOOK_TOKEN_UNAVAILABLE: 'This action requires a webhook token, but none is available.',
WEBHOOK_URL_INVALID: 'The provided webhook URL is not valid.',
MESSAGE_REFERENCE_MISSING: 'The message does not reference another message',
EMOJI_TYPE: 'Emoji must be a string or GuildEmoji/ReactionEmoji',