diff --git a/bible/bible.py b/bible/bible.py index 2ff74de..663516d 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -85,19 +85,22 @@ 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": "discord-" + str(self.bot.user.id), - "sId": "discord-" + str(ctx.message.created_at.timestamp()), + "dId": dId, + "sId": sId, "uId": ctx.author.id, } async with self.session.get(fums_url, params=fums_params) as response: - fums_data = await response.json() self.logger.debug( - "_get_passage FUMS executed with a response code of: %s\n%s", + "_get_passage FUMS executed with a response code of: %s\nDevice ID: %s\nSession ID: %s\nUser ID: %s", response.status, - json.dumps(fums_data), + dId, + sId, + ctx.author.id ) return data["data"]