Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prono69 committed Mar 6, 2024
1 parent 072e721 commit a9e9cff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions userbot/helpers/nsfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"yuri",
"zettaiRyouiki",
],
"api": "https://hmtai.hatsunia.cfd/nsfw/",
"api": "https://hmtai.hatsunia.cfd/v2/",
"checker": "url",
},
"v4": {
Expand All @@ -152,7 +152,7 @@
"uglybastard",
"lewdneko",
],
"api": "https://cuteasfubuki.cf/api/",
"api": "https://akaneko.cuteasfubuki.xyz/api/",
"checker": "url",
},
"v5": {
Expand All @@ -165,6 +165,11 @@
"api": "https://api.xsky.dev/",
"checker": "url",
},
"v7": {
"end": ["jav", "rb"],
"api": "https://scathach.redsplit.org/v3/nsfw/",
"checker": "url",
},
}


Expand All @@ -182,6 +187,7 @@ def nekos(endpoint=None, endpoints=endpoints):
+ endpoints["v3"]["end"]
+ endpoints["v4"]["end"]
+ endpoints["v5"]["end"]
+ endpoints["v7"]["end"]
)


Expand Down
2 changes: 1 addition & 1 deletion userbot/plugins/anilist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion userbot/plugins/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<b><i>Slaying 🥀 </b></i>", parse_mode="html"
Expand Down

0 comments on commit a9e9cff

Please sign in to comment.