fix(bible): do you want strings??

This commit is contained in:
Seaswimmer 2024-02-02 01:38:47 -05:00
parent 0980c7cbf2
commit e71fc9f154
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -65,7 +65,7 @@ class Bible(commands.Cog):
"include-verse-numbers": str(include_verse_numbers).lower(), "include-verse-numbers": str(include_verse_numbers).lower(),
"include-verse-spans": "false", "include-verse-spans": "false",
"use-org-id": "false", "use-org-id": "false",
"fums-version": 3, "fums-version": "3",
} }
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response:
@ -106,7 +106,7 @@ class Bible(commands.Cog):
url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/books" url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/books"
headers = await self.bot.get_shared_api_tokens("api.bible") headers = await self.bot.get_shared_api_tokens("api.bible")
params = { params = {
"fums-version": 3, "fums-version": "3",
} }
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response:
@ -147,7 +147,7 @@ class Bible(commands.Cog):
url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/books/{book_id}/chapters" url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/books/{book_id}/chapters"
headers = await self.bot.get_shared_api_tokens("api.bible") headers = await self.bot.get_shared_api_tokens("api.bible")
params = { params = {
"fums-version": 3, "fums-version": "3",
} }
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response:
@ -188,7 +188,7 @@ class Bible(commands.Cog):
url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/chapters/{book_id}.{chapter}/verses" url = f"https://api.scripture.api.bible/v1/bibles/{bible_id}/chapters/{book_id}.{chapter}/verses"
headers = await self.bot.get_shared_api_tokens("api.bible") headers = await self.bot.get_shared_api_tokens("api.bible")
params = { params = {
"fums-version": 3, "fums-version": "3",
} }
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response: