Add missing data statements. (#251)

This commit is contained in:
PredaaA
2021-10-19 01:56:05 +02:00
committed by GitHub
parent d34732def7
commit 43902aefc9
18 changed files with 47 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
from .discordexperiments import DiscordExperiments
__red_end_user_data_statement__ = "This cog does not persistently store data or metadata about users."
def setup(bot):
bot.add_cog(DiscordExperiments(bot))

View File

@@ -9,6 +9,10 @@ class DiscordExperiments(commands.Cog):
def __init__(self, bot):
self.bot = bot
async def red_delete_data_for_user(self, **kwargs):
"""Nothing to delete"""
return
async def _create_invite(self, ctx, app_id: int, max_age: int, app_name: str):
voice = ctx.author.voice
if not voice:

View File

@@ -3,5 +3,6 @@
"install_msg": "⚠ **THIS COG IS NOT FOR GENERAL USE** ⚠\nThis cog creates voice invites for experimental applications that Discord is still working on.\nAnything can break at any time.\nI am not responsible for anything that happens to your Discord account or your bot while using this cog.\nUsers are required to use OAuth authentication to access some of these applications on joining the voice channels and interacting with it. This interaction/authentication is between Discord and the service(s) providing the experiments.\nI do not recommend installing this cog on a public bot.\nDO NOT LOAD THIS COG IF YOU DO NOT AGREE TO THE RISKS. NOT ALL RISKS HAVE BEEN EXPLAINED HERE.",
"short": "Create voice invites for experimental Discord applications.",
"description": "Create voice invites for experimental Discord applications.",
"tags": ["discord"]
"tags": ["discord"],
"end_user_data_statement": "This cog does not persistently store data or metadata about users."
}