diff --git a/GDPR.md b/GDPR.md index d0fa56e..9aec96c 100644 --- a/GDPR.md +++ b/GDPR.md @@ -2,7 +2,7 @@ ## TL;DR -Analyst-bot collects text message information. It does not share collected data with any third-party and data is retained 18 months or until the bot is leaving the guild/server. +Analyst-bot collects text message information. It does not share collected data with any third-party and data is retained 30 days or until the bot is leaving the guild/server. ## Data collection diff --git a/src/data_types/presence.py b/src/data_types/presence.py index 682774b..07c197b 100644 --- a/src/data_types/presence.py +++ b/src/data_types/presence.py @@ -54,16 +54,16 @@ class Presence: f"- **most visited channel**: {channel_mention(top_channel)} ({self.channel_usage[top_channel]:,} msg, {percent(self.channel_usage[top_channel]/channel_sum)})" if show_top_channel else "", - f"- **most contributed channel**: {channel_mention(found_in)} ({self.channel_usage[found_in]:,} msg, {percent(self.channel_usage[found_in]/self.channel_total[found_in])} of {type})" + f"- **most contributed channel**: {channel_mention(found_in)} ({self.channel_usage[found_in]:,} msg,)" if show_top_channel and member_specific else "", - f"- **was mentioned**: {plural(mention_sum, 'time')} ({percent(mention_sum/val_sum(self.mention_count))} of {type})" + f"- **was mentioned**: {plural(mention_sum, 'time')}" if member_specific and len(self.mentions) > 0 else "", f"- **mostly mentioned by**: {mention(top_mention)} ({plural(self.mentions[top_mention], 'time')}, {percent(self.mentions[top_mention]/mention_sum)})" if member_specific and len(self.mentions) > 0 else "", - f"- **mentioned others**: {plural(mention_others_sum, 'time')} ({percent(mention_others_sum/val_sum(self.mention_count))} of {type})" + f"- **mentioned others**: {plural(mention_others_sum, 'time')}" if len(self.mention_others) > 0 and member_specific else "", f"- **mostly mentioned**: {mention(top_mention_others)} ({plural(self.mention_others[top_mention_others], 'time')}, {percent(self.mention_others[top_mention_others]/mention_others_sum)})" @@ -81,7 +81,7 @@ class Presence: f"- **reactions**: {plural(total_reaction_used, 'time')}" if len(self.reactions) > 0 and not member_specific else "", - f"- **reactions**: {plural(total_reaction_used, 'time')} ({percent(total_reaction_used/val_sum(self.used_reaction))} of {type})" + f"- **reactions**: {plural(total_reaction_used, 'time')}" if len(self.reactions) > 0 and member_specific else "", f"- **top reactions**: {mention(top_reaction_member)} ({plural(self.used_reaction[top_reaction_member], 'time')}, {percent(self.used_reaction[top_reaction_member]/val_sum(self.used_reaction))})" diff --git a/src/utils/gdpr.py b/src/utils/gdpr.py index 62419ae..2860737 100644 --- a/src/utils/gdpr.py +++ b/src/utils/gdpr.py @@ -13,7 +13,7 @@ arguments: TEXT = """ __**About Analyst-bot's data usage**__ **TL;DR** -Analyst-bot collects text message information. It does not share collected data with any third-party and data is retained 18 months or until the bot is leaving the guild/server. +Analyst-bot collects text message information. It does not share collected data with any third-party and data is retained 30 days or until the bot is leaving the guild/server. **Data collection** Analyst-bot collects a Discord guild/server's history when asked to. This includes: