19 lines
414 B
Python
19 lines
414 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Type
|
|
|
|
from cpl_discord.command import DiscordCommandABC
|
|
from cpl_query.extension.list import List
|
|
|
|
|
|
class DiscordCollectionABC(ABC):
|
|
def __init__(self):
|
|
ABC.__init__(self)
|
|
|
|
@abstractmethod
|
|
def add_command(self, _t: Type[DiscordCommandABC]):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def add_event(self, _t_event: Type, _t: Type):
|
|
pass
|