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,6 @@
from .ttt import TTT
__red_end_user_data_statement__ = "This cog does store temporarily (in memory) data about users, which is cleared after the game is done."
def setup(bot):
bot.add_cog(TTT(bot))

View File

@@ -5,5 +5,6 @@
"short": "Tic Tac Toe",
"tags": ["game", "games", "tic tac toe", "ttt"],
"permissions": ["add_reactions"],
"type": "COG"
"type": "COG",
"end_user_data_statement": "This cog does store temporarily (in memory) data about users, which is cleared after the game is done."
}

View File

@@ -19,6 +19,10 @@ class TTT(commands.Cog):
self.bot = bot
self.ttt_games = {}
async def red_delete_data_for_user(self, **kwargs):
"""Nothing to delete"""
return
@commands.guild_only()
@commands.bot_has_permissions(add_reactions=True)
@commands.max_concurrency(1, commands.BucketType.user)