mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Make docs catches use console.error
This commit is contained in:
@@ -103,7 +103,7 @@ class Webhook {
|
||||
* 'footer': 'Powered by sneks',
|
||||
* 'ts': new Date().getTime() / 1000
|
||||
* }]
|
||||
* }).catch(console.log);
|
||||
* }).catch(console.error);
|
||||
*/
|
||||
sendSlackMessage(body) {
|
||||
return this.client.rest.methods.sendSlackWebhookMessage(this, body);
|
||||
|
||||
Reference in New Issue
Block a user