def _handle_anime(entry):
embed = discord.Embed(title=entry.title.string)
embed.url = BASE_URL_MYANIMELIST.format("anime", entry.id.string)
embed.add_field(name="ID", value=entry.id.string)
embed.add_field(name="Synonyms", value=entry.synonyms.string)
embed.add_field(name="Episodes", value=entry.episodes.string)
embed.add_field(name="Score", value=entry.score.string)
embed.add_field(name="Type", value=entry.type.string)
embed.add_field(name="Status", value=entry.status.string)
embed.add_field(name="Start date", value=entry.start_date.string)
embed.add_field(name="End date", value=entry.end_date.string)
embed.description = html2text.html2text(entry.synopsis.string)
return embed
评论列表
文章目录