From 86b12cb3c70ccea120e3c5136b926c73aee7c4a7 Mon Sep 17 00:00:00 2001 From: RedAura <86167689+MoeZilla@users.noreply.github.com> Date: Wed, 7 Jul 2021 08:11:11 +0530 Subject: [PATCH] Update anime.py --- DaisyX/modules/anime.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/DaisyX/modules/anime.py b/DaisyX/modules/anime.py index 47f3f87d..aef9fbec 100644 --- a/DaisyX/modules/anime.py +++ b/DaisyX/modules/anime.py @@ -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