From e6b72e80ee433012b2834d5fe90ae964b91dec23 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 2 Feb 2024 02:00:18 -0500 Subject: [PATCH] misc(bible): fixing up some fums stuff --- bible/bible.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/bible/bible.py b/bible/bible.py index 663516d..8266e8d 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -85,12 +85,10 @@ class Bible(commands.Cog): raise bible.errors.ServiceUnavailable() fums_url = "https://fums.api.bible/f3" - dId = "discord-" + str(self.bot.user.id) - sId = "discord-" + str(ctx.message.created_at.timestamp()) fums_params = { "t": data["meta"]["fumsToken"], - "dId": dId, - "sId": sId, + "dId": self.bot.user.id, + "sId": ctx.message.created_at.timestamp(), "uId": ctx.author.id, } @@ -98,9 +96,9 @@ class Bible(commands.Cog): self.logger.debug( "_get_passage FUMS executed with a response code of: %s\nDevice ID: %s\nSession ID: %s\nUser ID: %s", response.status, - dId, - sId, - ctx.author.id + self.bot.user.id, + ctx.message.created_at.timestamp(), + ctx.author.id, ) return data["data"]