Skip to content

Commit

Permalink
bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
prono69 committed Jun 26, 2024
1 parent a9e9cff commit 9654982
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ motor
nekos.py
natsort
openai
opencv-python
Pillow
prettytable
psutil
Expand Down
4 changes: 2 additions & 2 deletions userbot/plugins/alive.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ async def amireallyalive(event):
ANIME = None
cat_caption = gvarstatus("ALIVE_TEMPLATE") or temp
if "ANIME" in cat_caption:
data = requests.get("https://animechan.xyz/api/random").json()
ANIME = f"**“{data['quote']}” - {data['character']} ({data['anime']})**"
data = requests.get("https://waifu.it/api/v4/quote", headers={"Authorization": "NDE0OTk4MTA0MzQyMDAzNzIz.MTcxODQyNDM5NA--.ab7207fceb",}).json()
ANIME = f"**“{data['quote']}” - {data['author']} ({data['anime']})**"
uptime = await get_readable_time((time.time() - StartTime))
start = datetime.now()
catevent = await edit_or_reply(event, "`Checking...`")
Expand Down
1 change: 1 addition & 0 deletions userbot/plugins/distort.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

from ..core.managers import edit_delete, edit_or_reply
from ..helpers.utils import reply_id
from ..helpers import media_type

plugin_category = "extra"

Expand Down

0 comments on commit 9654982

Please sign in to comment.