From 9e8c5239fd143622e8abf7c768c1f2d2c683a2e7 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 1 Feb 2024 18:05:23 -0500 Subject: [PATCH] fix(bible): added debug line --- bible/bible.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bible/bible.py b/bible/bible.py index 4cc6652..9026f5d 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -6,6 +6,7 @@ # |_____/ \___|\__,_|___/ \_/\_/ |_|_| |_| |_|_| |_| |_|\___|_| import aiohttp +import json import logging from redbot.core import commands, Config @@ -41,6 +42,7 @@ class Bible(commands.Cog): headers = await self.bot.get_shared_api_tokens("api.bible") async with self.session.get(url, headers=headers) as response: data = await response.json() + self.logger.debug(json.dumps(data)) return data["data"] async def _get_books(self, bible_id: str) -> dict: