From d23d3a8d60d6d9fe9c05a445565bef239b65ce9d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 24 Jan 2022 23:10:31 +0200 Subject: [PATCH] logic wrong way --- structure/ChannelHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/ChannelHandler.js b/structure/ChannelHandler.js index 2659b1c..ec25988 100644 --- a/structure/ChannelHandler.js +++ b/structure/ChannelHandler.js @@ -133,7 +133,7 @@ class ChannelHandler { // this.client.logger.error(`Failed on second create:\n${err.stack || err}`); return { err }; }); - if (!channel.err) return reject(channel.err); + if (channel.err) return reject(channel.err); // Start with user info embed const embed = {