fix(bible): added debug line
This commit is contained in:
parent
c196cca6c2
commit
9e8c5239fd
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue