def doggo(self):
"""Wait! There is more cure of boredom?"""
try:
async with self.session.get(self.dogurl) as r:
result = await r.json()
print(result)
dog = discord.Embed(description="\u2063", color=discord.Color(0xffb6c1))
dog.set_image(url=result['message'])
# await self.bot.say(result['file'])
await self.bot.say(embed=dog)
except:
await self.bot.say("Couldn't Get An Image")
评论列表
文章目录