from typing import Literal from redbot.core import commands from redbot.core.bot import Red from redbot.core.config import Config RequestType = Literal["discord_deleted_user", "owner", "user", "user_strict"] class TemplateManager(commands.Cog): """ A cog to help with server template management. """ def __init__(self, bot: Red) -> None: self.bot = bot self.config = Config.get_conf( self, identifier=90052573731772, force_registration=True, ) async def red_delete_data_for_user( self, *, requester: RequestType, user_id: int ) -> None: # TODO: Replace this with the proper end user data removal handling. super().red_delete_data_for_user(requester=requester, user_id=user_id)