mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Replace console.log in catches with console.error
This commit is contained in:
@@ -47,7 +47,7 @@ class Channel {
|
||||
* // delete the channel
|
||||
* channel.delete()
|
||||
* .then() // success
|
||||
* .catch(console.log); // log error
|
||||
* .catch(console.error); // log error
|
||||
*/
|
||||
delete() {
|
||||
return this.client.rest.methods.deleteChannel(this);
|
||||
|
||||
Reference in New Issue
Block a user