fix(bible): do you want strings??
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 15s
Actions / Build Documentation (MkDocs) (push) Successful in 12s

This commit is contained in:
Seaswimmer 2024-02-02 01:38:47 -05:00
parent 0980c7cbf2
commit e71fc9f154
Signed by: 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-spans": "false",
"use-org-id": "false",
"fums-version": 3,
"fums-version": "3",
}
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"
headers = await self.bot.get_shared_api_tokens("api.bible")
params = {
"fums-version": 3,
"fums-version": "3",
}
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"
headers = await self.bot.get_shared_api_tokens("api.bible")
params = {
"fums-version": 3,
"fums-version": "3",
}
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"
headers = await self.bot.get_shared_api_tokens("api.bible")
params = {
"fums-version": 3,
"fums-version": "3",
}
async with self.session.get(url, headers=headers, params=params) as response: