forked from blizzthewolf/SeaCogs
fix(bible): do you want strings??
This commit is contained in:
parent
0980c7cbf2
commit
e71fc9f154
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue