fix(bible): removed debug logging
This commit is contained in:
parent
0a07e2dfa8
commit
3b28ba3277
1 changed files with 0 additions and 8 deletions
|
@ -47,8 +47,6 @@ 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(passage_id)
|
||||
self.logger.debug(json.dumps(data))
|
||||
return data["data"]
|
||||
|
||||
async def _get_books(self, bible_id: str) -> dict:
|
||||
|
@ -57,8 +55,6 @@ 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(bible_id)
|
||||
self.logger.debug(json.dumps(data))
|
||||
return data["data"]
|
||||
|
||||
async def _get_chapters(self, bible_id: str, book_id: str) -> dict:
|
||||
|
@ -67,8 +63,6 @@ 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(book_id)
|
||||
self.logger.debug(json.dumps(data))
|
||||
return data["data"]
|
||||
|
||||
async def _get_verses(self, bible_id: str, book_id: str, chapter: int) -> dict:
|
||||
|
@ -77,8 +71,6 @@ 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(chapter)
|
||||
self.logger.debug(json.dumps(data))
|
||||
return data["data"]
|
||||
|
||||
@commands.group(autohelp=True)
|
||||
|
|
Loading…
Reference in a new issue