Не работает команда @bot.command()
async def neko(ctx):
response = requests.get(' http://api.nekos.fun:8080/api/kiss') # Get-запрос
json_data = json.loads(response.text) # Извлекаем JSON
embed = discord.Embed(color = 0xff9900, title = 'Кишка') # Создание Embed'a
embed.set_image(url = json_data['link']) # Устанавливаем картинку Embed'a
await ctx.send(embed = embed) # Отправляем Embed http://api.nekos.fun:8080/api/kiss возвращает {"image": "https://nekos.fun/storage/kiss/kiss_131.gif"}, а вы пытаетесь получить ссылку link@bot.command()
async def neko(ctx):
response = requests.get('http://api.nekos.fun:8080/api/kiss').json()
embed = discord.Embed(color = 0xff9900, title = 'Кишка')
embed.set_image(url = response['image'])
await ctx.send(embed = embed)