forked from blizzthewolf/SeaCogs
misc(bible): fixing up some fums stuff
This commit is contained in:
parent
b86707a6b4
commit
e6b72e80ee
1 changed files with 5 additions and 7 deletions
|
@ -85,12 +85,10 @@ class Bible(commands.Cog):
|
||||||
raise bible.errors.ServiceUnavailable()
|
raise bible.errors.ServiceUnavailable()
|
||||||
|
|
||||||
fums_url = "https://fums.api.bible/f3"
|
fums_url = "https://fums.api.bible/f3"
|
||||||
dId = "discord-" + str(self.bot.user.id)
|
|
||||||
sId = "discord-" + str(ctx.message.created_at.timestamp())
|
|
||||||
fums_params = {
|
fums_params = {
|
||||||
"t": data["meta"]["fumsToken"],
|
"t": data["meta"]["fumsToken"],
|
||||||
"dId": dId,
|
"dId": self.bot.user.id,
|
||||||
"sId": sId,
|
"sId": ctx.message.created_at.timestamp(),
|
||||||
"uId": ctx.author.id,
|
"uId": ctx.author.id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,9 +96,9 @@ class Bible(commands.Cog):
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
"_get_passage FUMS executed with a response code of: %s\nDevice ID: %s\nSession ID: %s\nUser ID: %s",
|
"_get_passage FUMS executed with a response code of: %s\nDevice ID: %s\nSession ID: %s\nUser ID: %s",
|
||||||
response.status,
|
response.status,
|
||||||
dId,
|
self.bot.user.id,
|
||||||
sId,
|
ctx.message.created_at.timestamp(),
|
||||||
ctx.author.id
|
ctx.author.id,
|
||||||
)
|
)
|
||||||
return data["data"]
|
return data["data"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue