feat(aurora): splitting out the role configuration into different commands
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s

This commit is contained in:
SeaswimmerTheFsh 2024-01-15 14:03:02 +00:00
parent 606cd76ec4
commit e28e32d0c0
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF
3 changed files with 63 additions and 17 deletions

View file

@ -18,6 +18,7 @@ from discord.ext import tasks
from pytimeparse2 import disable_dateutil, parse
from redbot.core import app_commands, commands, data_manager
from redbot.core.app_commands import Choice
from redbot.core.bot import Red
from redbot.core.utils.chat_formatting import box, error, warning
from .abc import CompositeMetaClass
@ -65,7 +66,7 @@ class Aurora(Configuration, commands.Cog, metaclass=CompositeMetaClass): # pylin
else:
logger.warning("Invalid requester passed to red_delete_data_for_user: %s", requester)
def __init__(self, bot):
def __init__(self, bot: Red):
super().__init__()
self.bot = bot
register_config(config)