Red v3.4 and End user data. #4093
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#4093
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey everyone!
We're bringing some important news today regarding Red and data storage, with the upcoming changes to the Discord Developer ToS we're giving you new options to control your data (A big thanks to @mikeshardmind )
You may receive e-mails and notifications from Discord asking you to remove end user data from specific users who have data stored on your bot. Red v3.4 will make it the burden to remove any end user data from the bot a lot easier.
Starting from Red version 3.4 you will have access to the following features.
For Red end users:
mydata whatdata.mydata getmydata.mydata forgetme.For Red owners:
You will have the ability to remove all data associated with a cog(deferred).For Red Cog developers:
end_user_data_statementin yourinfo.json(On the cog side) and new Red-specific dunder variable named__red_end_user_data_statement__(put in the cog package) which allows you to explain what EUD you're storing. (https://github.com/Cog-Creators/Red-DiscordBot/pull/4045, https://github.com/Cog-Creators/Red-DiscordBot/pull/4169)end_user_data_statementininfo.json) as well as when the cog is loaded (__red_end_user_data_statement__in the cog package).red_delete_data_for_userImportant information with v3.4:
Upon updating and starting Red v3.4 all cogs will be unloaded.This is to ensure that the bot owner is aware of what data is stored on each cog.Breaking changes with v3.4:
red_, and dunder names starting with red (ie. of the form__red_*__) will be reserved. (https://github.com/Cog-Creators/Red-DiscordBot/pull/4085)allowed_mentionskwarg to .send() methods that can be used to make the message mention roles or @everyone/@here.filterkwarg inContext.send()will be changed to None which means that enabling @everyone/@here mentions will now require using the aforementionedallowed_mentionskwarg instead.redbot.core.utils.chat_formatting.humanize_list()will accept empty sequences instead of raisingIndexErrorfor them. (https://github.com/Cog-Creators/Red-DiscordBot/pull/2982)Any comments on this are welcome on this issue, its associated PRs/issues, or over on our Discord server.
GDPR LMAO