Displaying the internal id of the waifu's

pull/8/head
sgoudham 4 years ago
parent a0c98a6e6c
commit 02d6f798b5

@ -124,6 +124,7 @@ def waifu_embed(self, waifu, _type):
og_name = waifu["original_name"] og_name = waifu["original_name"]
picture = waifu["display_picture"] picture = waifu["display_picture"]
url = waifu["url"] url = waifu["url"]
waifu_id = waifu["id"]
likes = waifu["likes"] likes = waifu["likes"]
trash = waifu["trash"] trash = waifu["trash"]
waifu_type = waifu["type"] waifu_type = waifu["type"]
@ -137,6 +138,7 @@ def waifu_embed(self, waifu, _type):
embed = Embed(title=name, description=desc, embed = Embed(title=name, description=desc,
colour=self.bot.random_colour(), colour=self.bot.random_colour(),
url=url) url=url)
embed.set_author(name=f"Internal ID: {waifu_id}")
embed.set_image(url=picture) embed.set_image(url=picture)
embed.set_footer(text=f"❤️ {likes} 🗑️ {trash} | Powered by MyWaifuList") embed.set_footer(text=f"❤️ {likes} 🗑️ {trash} | Powered by MyWaifuList")

Loading…
Cancel
Save