Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Update anime.py #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions DaisyX/modules/anime.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,12 @@ async def kayo(message):
await site_search(message, "ganime")


@pbot.on_message(filters.command("aq"))
@anime.on_message(filters.command("aq"))
def quote(_, message):
quote = requests.get("https://animechan.vercel.app/api/random").json()
quote = truth.get("quote")
message.reply_text(quote)
message.reply_text('`'+quote['quote']+'`\n '+quote['anime']+' (In '+quote['character']+')')




# added ganime search based on gogoanime2.org
Expand Down