From 02d6f798b548139c6c619bce385b9c7645a6235b Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 30 Aug 2020 01:59:23 +0100 Subject: [PATCH] Displaying the internal id of the waifu's --- cogs/anime.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/anime.py b/cogs/anime.py index ae5e91f0..3e61a763 100644 --- a/cogs/anime.py +++ b/cogs/anime.py @@ -124,6 +124,7 @@ def waifu_embed(self, waifu, _type): og_name = waifu["original_name"] picture = waifu["display_picture"] url = waifu["url"] + waifu_id = waifu["id"] likes = waifu["likes"] trash = waifu["trash"] waifu_type = waifu["type"] @@ -137,6 +138,7 @@ def waifu_embed(self, waifu, _type): embed = Embed(title=name, description=desc, colour=self.bot.random_colour(), url=url) + embed.set_author(name=f"Internal ID: {waifu_id}") embed.set_image(url=picture) embed.set_footer(text=f"❤️ {likes} 🗑️ {trash} | Powered by MyWaifuList")