Compare commits
2 commits
d1c0ed2e14
...
21e256c4fb
Author | SHA1 | Date | |
---|---|---|---|
21e256c4fb | |||
2c14be64ea |
2 changed files with 4 additions and 3 deletions
|
@ -88,15 +88,16 @@ class Bible(commands.Cog):
|
||||||
"t": data["meta"]["fumsToken"],
|
"t": data["meta"]["fumsToken"],
|
||||||
"dId": self.bot.user.id,
|
"dId": self.bot.user.id,
|
||||||
"sId": ctx.message.created_at.timestamp(),
|
"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:
|
async with self.session.get(fums_url, params=fums_params) as response:
|
||||||
self.logger.debug(
|
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,
|
response.status,
|
||||||
self.bot.user.id,
|
self.bot.user.id,
|
||||||
ctx.message.created_at.timestamp(),
|
ctx.message.created_at.timestamp(),
|
||||||
|
hash(ctx.author.id),
|
||||||
ctx.author.id,
|
ctx.author.id,
|
||||||
)
|
)
|
||||||
return data["data"]
|
return data["data"]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"name" : "Bible",
|
"name" : "Bible",
|
||||||
"short" : "Retrieve Bible verses from API.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.",
|
"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,
|
"hidden": false,
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"min_bot_version": "3.5.0",
|
"min_bot_version": "3.5.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue