logic wrong way

This commit is contained in:
Erik 2022-01-24 23:10:31 +02:00
parent f8d20ac2ee
commit d23d3a8d60
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -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 = {