mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
docs(Webhook): fix thread example in send method (#5953)
This commit is contained in:
@@ -118,7 +118,7 @@ class Webhook {
|
|||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
* @example
|
* @example
|
||||||
* // Send a basic message in a thread
|
* // 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}`))
|
* .then(message => console.log(`Sent message: ${message.content}`))
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
* @example
|
* @example
|
||||||
|
|||||||
Reference in New Issue
Block a user