def cats(self, ctx): async with aiohttp.get('http://random.cat/meow') as r: if r.status == 200: js = await r.json() await self.bot.say(js['file'])