forked from blizzthewolf/SeaCogs
fix(backup): convert author.id to a string before hashing
This commit is contained in:
parent
21e256c4fb
commit
09302403b8
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class Bible(commands.Cog):
|
|||
"t": data["meta"]["fumsToken"],
|
||||
"dId": self.bot.user.id,
|
||||
"sId": ctx.message.created_at.timestamp(),
|
||||
"uId": hash(ctx.author.id),
|
||||
"uId": hash(str(ctx.author.id)),
|
||||
}
|
||||
|
||||
async with self.session.get(fums_url, params=fums_params) as response:
|
||||
|
@ -97,7 +97,7 @@ class Bible(commands.Cog):
|
|||
response.status,
|
||||
self.bot.user.id,
|
||||
ctx.message.created_at.timestamp(),
|
||||
hash(ctx.author.id),
|
||||
hash(str(ctx.author.id)),
|
||||
ctx.author.id,
|
||||
)
|
||||
return data["data"]
|
||||
|
|
Loading…
Reference in a new issue