15 lines
367 B
Python
15 lines
367 B
Python
from abc import ABC
|
|
|
|
from redbot.core import Config
|
|
from redbot.core.bot import Red
|
|
|
|
|
|
class MixinMeta(ABC):
|
|
"""Base class for well behaved type hint detection with composite class.
|
|
|
|
Basically, to keep developers sane when not all attributes are defined in each mixin.
|
|
"""
|
|
|
|
def __init__(self, *_args):
|
|
self.config: Config
|
|
self.bot: Red
|