Compare commits

...

2 commits

Author SHA1 Message Date
21e256c4fb
fix(bible): update info.json to disclose data given through FUMS
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 15s
Actions / Build Documentation (MkDocs) (push) Successful in 11s
2024-02-02 02:05:47 -05:00
2c14be64ea
fix(bible): hash user ids when sending through FUMS 2024-02-02 02:05:24 -05:00
2 changed files with 4 additions and 3 deletions

View file

@ -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"]

View file

@ -4,7 +4,7 @@
"name" : "Bible",
"short" : "Retrieve Bible verses from API.Bible.",
"description" : "Retrieve Bible verses from the API.Bible API. This cog requires an API.Bible api key.",
"end_user_data_statement" : "This cog does not store end user data.",
"end_user_data_statement" : "This cog does not store end user data, however it does send the following data to the API.Bible API:\n- The bot user's ID\n- The timestamp of the invoking message\n- The hashed user id of the invoking user",
"hidden": false,
"disabled": false,
"min_bot_version": "3.5.0",