mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43: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);
|
||||
* @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
|
||||
|
||||
Reference in New Issue
Block a user