feat(aurora): add per-type configuration options and a menu to configure them
none of the options do anything yet, this is just creating the configuration keys and the menu to modify them
This commit is contained in:
parent
8aaa918b6e
commit
9c345ed96b
5 changed files with 124 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
from abc import abstractmethod
|
||||
from typing import Any, List, Tuple
|
||||
from typing import Any, Dict, Tuple
|
||||
|
||||
from class_registry import AutoRegister, ClassRegistry
|
||||
from discord import Interaction, Member, User
|
||||
from discord.abc import Messageable
|
||||
from redbot.core import commands
|
||||
|
||||
type_registry: List['Type'] = ClassRegistry(attr_name='key', unique=True)
|
||||
type_registry: Dict['str', 'Type'] = ClassRegistry(attr_name='key', unique=True)
|
||||
|
||||
class Type(metaclass=AutoRegister(type_registry)):
|
||||
"""This is a base class for moderation types.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue