mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
typo
This commit is contained in:
parent
15894d3469
commit
fd6ba9c735
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Joke extends Command {
|
||||||
|
|
||||||
async run(message, args, data) {
|
async run(message, args, data) {
|
||||||
const joke = await this.client.icanhazdadjoke();
|
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()
|
const embed = new Discord.MessageEmbed()
|
||||||
.setDescription(joke.joke)
|
.setDescription(joke.joke)
|
||||||
|
|
Loading…
Reference in a new issue