forked from blizzthewolf/SeaCogs
fix(bible): hash user ids when sending through FUMS
This commit is contained in:
parent
d1c0ed2e14
commit
2c14be64ea
1 changed files with 3 additions and 2 deletions
|
@ -88,15 +88,16 @@ class Bible(commands.Cog):
|
|||
"t": data["meta"]["fumsToken"],
|
||||
"dId": self.bot.user.id,
|
||||
"sId": ctx.message.created_at.timestamp(),
|
||||
"uId": ctx.author.id,
|
||||
"uId": hash(ctx.author.id),
|
||||
}
|
||||
|
||||
async with self.session.get(fums_url, params=fums_params) as response:
|
||||
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 (%s)",
|
||||
response.status,
|
||||
self.bot.user.id,
|
||||
ctx.message.created_at.timestamp(),
|
||||
hash(ctx.author.id),
|
||||
ctx.author.id,
|
||||
)
|
||||
return data["data"]
|
||||
|
|
Loading…
Reference in a new issue