Skip to content

Commit

Permalink
30 to 90 days
Browse files Browse the repository at this point in the history
  • Loading branch information
Klemek committed Oct 16, 2023
1 parent cb37b05 commit 18fe35e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions GDPR.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 30 days 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 90 days or until the bot is leaving the guild/server.

## Data collection

Expand All @@ -27,7 +27,7 @@ Any data collected is only processed in order to produce a one-time report sent

Analyst-bot stores the collected data in files that are accessible by the software and its administrator only.

Any collected data are retained maximum 30 days until deletion or when the bot is leaving a guild/server.
Any collected data are retained maximum 90 days until deletion or when the bot is leaving a guild/server.

## Data sharing

Expand Down
4 changes: 2 additions & 2 deletions src/logs/guild_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
# 5 minutes, assume 'fast' arg
MIN_MODIFICATION_TIME = int(os.getenv("MAX_MODIFICATION_TIME", 5 * 60))

# 30 days, remove log file
MAX_MODIFICATION_TIME = int(os.getenv("MAX_MODIFICATION_TIME", 30 * 24 * 60 * 60))
# 90 days, remove log file
MAX_MODIFICATION_TIME = int(os.getenv("MAX_MODIFICATION_TIME", 90 * 24 * 60 * 60))

class Worker:
def __init__(
Expand Down
4 changes: 2 additions & 2 deletions src/utils/gdpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
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 30 days 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 90 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:
Expand All @@ -27,7 +27,7 @@
Any data collected is only processed in order to produce a one-time report sent to the user immediately. No temporary data are retained.
**Data storage and retain policy**
Analyst-bot stores the collected data in files that are accessible by the software and its administrator only.
Any collected data are retained maximum 30 days until deletion or when the bot is leaving a guild/server.
Any collected data are retained maximum 90 days until deletion or when the bot is leaving a guild/server.
**Data sharing**
Analyst-bot does not share the data collected with any third-party.
**Right to retract**
Expand Down

0 comments on commit 18fe35e

Please sign in to comment.