diff --git a/bible/bible.py b/bible/bible.py index 510eb7e..4cc6652 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -37,10 +37,9 @@ class Bible(commands.Cog): async def _get_passage(self, bible_id: str, passage_id: str) -> dict: """Get a Bible passage from the API.bible API.""" - url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/passages/{passage_id}" + 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" headers = await self.bot.get_shared_api_tokens("api.bible") - query = {"content_type": "text", "include-chapter-numbers": 'false', "include-verse-numbers": 'false', "include-verse-spans": 'false'} - async with self.session.get(url, headers=headers, params=query) as response: + async with self.session.get(url, headers=headers) as response: data = await response.json() return data["data"]