Skip to content

Commit

Permalink
docs(Webhook): fix thread example in send method (#5953)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaumianerNiklas authored Jun 28, 2021
1 parent e37ef3a commit d3d19ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Webhook {
* .catch(console.error);
* @example
* // Send a basic message in a thread
* webhook.send('hello!', { threadID: '836856309672348295' })
* webhook.send({ content: 'hello!', threadID: '836856309672348295' })
* .then(message => console.log(`Sent message: ${message.content}`))
* .catch(console.error);
* @example
Expand Down

0 comments on commit d3d19ce

Please sign in to comment.