Fixed small error for showing tv show embeds

pull/8/head
sgoudham 4 years ago
parent f1d9827b5a
commit 5972de2e54

@ -65,6 +65,7 @@ def search(self, bot):
embed.set_author(name=key["type"]) embed.set_author(name=key["type"])
embed.set_footer(text=f"❤️ {key['likes']} 🗑️ {key['trash']} | Powered by MyWaifuList") embed.set_footer(text=f"❤️ {key['likes']} 🗑️ {key['trash']} | Powered by MyWaifuList")
elif "anime" == self.type: elif "anime" == self.type:
embed.set_author(name=key["type"])
embed.set_footer(text=f"{key['romaji_name']} | Powered by MyWaifuList") embed.set_footer(text=f"{key['romaji_name']} | Powered by MyWaifuList")
embeds.append(embed) embeds.append(embed)

Loading…
Cancel
Save