diff --git a/commands/Fun/joke.js b/commands/Fun/joke.js index 2b06541f..421aa45d 100644 --- a/commands/Fun/joke.js +++ b/commands/Fun/joke.js @@ -19,7 +19,7 @@ class Joke extends Command { async run(message, args, data) { const joke = await this.client.icanhazdadjoke(); - if (joke.status === 200) return message.error("misc:ERR_OCCURRED"); + if (joke.status !== 200) return message.error("misc:ERR_OCCURRED"); const embed = new Discord.MessageEmbed() .setDescription(joke.joke)