Skip to content

Commit

Permalink
Update docs for executeWebhook() auth (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz authored Mar 24, 2021
1 parent 9a89483 commit 2a787f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ class Client extends EventEmitter {
* @arg {String} webhookID The ID of the webhook
* @arg {String} token The token of the webhook
* @arg {Object} options Slack webhook options
* @arg {Boolean} [options.auth=false] Whether or not to authorize the request with the bot token (allowing custom emotes from other guilds)
* @arg {Boolean} [options.auth=false] Whether or not to authenticate with the bot token.
* @arg {Boolean} [options.wait=false] Whether to wait for the server to confirm the message create or not
* @returns {Promise}
*/
Expand All @@ -1405,7 +1405,7 @@ class Client extends EventEmitter {
* @arg {Boolean} [options.allowedMentions.everyone] Whether or not to allow @everyone/@here.
* @arg {Boolean | Array<String>} [options.allowedMentions.roles] Whether or not to allow all role mentions, or an array of specific role mentions to allow.
* @arg {Boolean | Array<String>} [options.allowedMentions.users] Whether or not to allow all user mentions, or an array of specific user mentions to allow.
* @arg {Boolean} [options.auth=false] Whether or not to authorize the request with the bot token (allowing custom emotes from other guilds)
* @arg {Boolean} [options.auth=false] Whether or not to authenticate with the bot token.
* @arg {String} [options.avatarURL] A URL for a custom avatar, defaults to webhook default avatar if not specified
* @arg {String} [options.content=""] A content string
* @arg {Array<Object>} [options.embeds] An array of Discord embeds
Expand Down

0 comments on commit 2a787f8

Please sign in to comment.