From fd6ba9c73542083fa882e5cdd0bf821ee262988a Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 14 Jan 2022 01:13:22 +0500 Subject: [PATCH] typo --- commands/Fun/joke.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)