forked from blizzthewolf/SeaCogs
fix(bible): oops lol
This commit is contained in:
parent
9e8c5239fd
commit
a432050056
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Bible(commands.Cog):
|
||||||
|
|
||||||
async def _get_passage(self, bible_id: str, passage_id: str) -> dict:
|
async def _get_passage(self, bible_id: str, passage_id: str) -> dict:
|
||||||
"""Get a Bible passage from the API.bible API."""
|
"""Get a Bible passage from the API.bible API."""
|
||||||
url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}-01/passages/{passage_id}?content-type=text&include-notes=false&include-titles=false&include-chapter-numbers=false&include-verse-numbers=true&include-verse-spans=false&use-org-id=false"
|
url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/passages/{passage_id}?content-type=text&include-notes=false&include-titles=false&include-chapter-numbers=false&include-verse-numbers=true&include-verse-spans=false&use-org-id=false"
|
||||||
headers = await self.bot.get_shared_api_tokens("api.bible")
|
headers = await self.bot.get_shared_api_tokens("api.bible")
|
||||||
async with self.session.get(url, headers=headers) as response:
|
async with self.session.get(url, headers=headers) as response:
|
||||||
data = await response.json()
|
data = await response.json()
|
||||||
|
|
Loading…
Reference in a new issue