This commit is contained in:
Seaswimmer 2023-03-03 15:18:10 -05:00
parent 3c08a681b5
commit e3cdb5a646

View file

@ -26,22 +26,19 @@ _ = T_ = Translator("General", __file__)
class Info(commands.Cog):
"""Provides information on Discord objects."""
default_member_settings = {"past_nicks": [], "perms_cache": {}}
default_user_settings = {"past_names": []}
def __init__(self, bot: Red):
super().__init__()
self.bot = bot
self.config = Config.get_conf(self, 2657117654, force_registration=True)
self.config.register_global(**self.default_global_settings)
self.config.register_guild(**self.default_guild_settings)
self.config.register_channel(**self.default_channel_settings)
self.config.register_member(**self.default_member_settings)
self.config.register_user(**self.default_user_settings)
self.cache: dict = {}
default_member_settings = {"past_nicks": [], "perms_cache": {}}
default_user_settings = {"past_names": []}
async def red_delete_data_for_user(self, **kwargs):
"""Nothing to delete."""
return