Make docs catches use console.error

This commit is contained in:
Schuyler Cebulskie
2016-10-26 21:37:19 -04:00
parent d6f4a4e1a0
commit ab6750d06d
4 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ class TextChannel extends GuildChannel {
* @example
* channel.createWebhook('Snek', 'http://snek.s3.amazonaws.com/topSnek.png')
* .then(webhook => console.log(`Created Webhook ${webhook}`))
* .catch(console.log)
* .catch(console.error)
*/
createWebhook(name, avatar) {
return new Promise((resolve, reject) => {