def kitty(self):
"""The cure of boredom."""
try:
async with self.session.get(self.caturl) as r:
result = await r.json()
cat = discord.Embed(description="\u2063", color=discord.Color(0xffb6c1))
cat.set_image(url=result['file'])
# await self.bot.say(result['file'])
await self.bot.say(embed=cat)
except:
await self.bot.say("Couldn't Get An Image")
评论列表
文章目录