From a9e9cff4eb18ff18d8496d14aef5d8c8d43d6e5f Mon Sep 17 00:00:00 2001 From: prono69 Date: Wed, 6 Mar 2024 15:54:39 +0530 Subject: [PATCH] fixes --- userbot/helpers/nsfw.py | 10 ++++++++-- userbot/plugins/anilist.py | 2 +- userbot/plugins/ping.py | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/userbot/helpers/nsfw.py b/userbot/helpers/nsfw.py index 1fe821f58d..671fa0ccda 100644 --- a/userbot/helpers/nsfw.py +++ b/userbot/helpers/nsfw.py @@ -136,7 +136,7 @@ "yuri", "zettaiRyouiki", ], - "api": "https://hmtai.hatsunia.cfd/nsfw/", + "api": "https://hmtai.hatsunia.cfd/v2/", "checker": "url", }, "v4": { @@ -152,7 +152,7 @@ "uglybastard", "lewdneko", ], - "api": "https://cuteasfubuki.cf/api/", + "api": "https://akaneko.cuteasfubuki.xyz/api/", "checker": "url", }, "v5": { @@ -165,6 +165,11 @@ "api": "https://api.xsky.dev/", "checker": "url", }, + "v7": { + "end": ["jav", "rb"], + "api": "https://scathach.redsplit.org/v3/nsfw/", + "checker": "url", + }, } @@ -182,6 +187,7 @@ def nekos(endpoint=None, endpoints=endpoints): + endpoints["v3"]["end"] + endpoints["v4"]["end"] + endpoints["v5"]["end"] + + endpoints["v7"]["end"] ) diff --git a/userbot/plugins/anilist.py b/userbot/plugins/anilist.py index 4051fdba54..6648139162 100644 --- a/userbot/plugins/anilist.py +++ b/userbot/plugins/anilist.py @@ -73,7 +73,7 @@ ) async def anime_quote(event): "Get random anime quotes" - data = requests.get("https://animechan.vercel.app/api/random").json() + data = requests.get("https://animechan.xyz/api/random").json() anime = data["anime"] character = data["character"] quote = data["quote"] diff --git a/userbot/plugins/ping.py b/userbot/plugins/ping.py index 28e282fe12..588dd17ade 100644 --- a/userbot/plugins/ping.py +++ b/userbot/plugins/ping.py @@ -148,7 +148,7 @@ async def _(event): gvarstatus("PING_PIC") or "https://telegra.ph/file/1328d62db93ad22b69ba2.jpg https://telegra.ph/file/b2da6e4c55dd29600e4ed.jpg" ) - PING_PICS = list(PING_PIC.split()) + PING_PICS = list(PING_PICS.split()) start = datetime.now() cat = await edit_or_reply( event, "Slaying 🥀 ", parse_mode="html"