Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Commit 95bc670

Browse files
authored
updated with new API
1 parent 7649bc9 commit 95bc670

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/miscellaneous/meme.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ module.exports = {
1313
run: async (bot, message, args) => {
1414
let msg = await message.channel.send("Generating...")
1515

16-
fetch(`https://api-to.get-a.life/meme`)
16+
fetch("https://apis.duncte123.me/meme")
1717
.then(res => res.json()).then(body => {
1818
if(!body) return message.reply("whoops! I've broke, try again!")
1919

2020
let mEmbed = new RichEmbed()
2121
.setColor(cyan)
2222
.setAuthor(`${bot.user.username} MEMES!`, message.guild.iconURL)
23-
.setImage(body.url)
23+
.setImage(body.image)
2424
.setTimestamp()
2525
.setFooter(bot.user.username.toUpperCase(), bot.user.displayAvatarURL)
2626

2727
message.channel.send(mEmbed)
2828
msg.delete();
2929
})
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)