docs(Webhook): fix thread example in send method (#5953)

This commit is contained in:
BaumianerNiklas
2021-06-29 01:34:30 +02:00
committed by GitHub
parent e37ef3af21
commit d3d19ce49b

View File

@@ -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