Nekos-life / nekos.py

A Python module that uses Nekos API
GNU General Public License v3.0
83 stars 24 forks source link

Almost everything looks to be broken #23

Closed Motzumoto closed 2 years ago

Motzumoto commented 2 years ago

Almost all endpoints are giving me this error except spank

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 200, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/ubuntu/LunarDev/AGB/Cogs/nsfw.py", line 401, in classic
    embed.set_image(url=nekos.img("classic"))
  File "/home/ubuntu/.local/lib/python3.9/site-packages/nekos/nekos.py", line 43, in img
    return r["url"]
KeyError: 'url'
Motzumoto commented 2 years ago

image image

the endpoints are gone