Add missing data statements. (#251)
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user