mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-10 22:26:23 +02:00
24 lines
541 B
Python
24 lines
541 B
Python
class ModulePrototype(object):
|
|
@staticmethod
|
|
def cmd():
|
|
raise NotImplementedError()
|
|
|
|
@staticmethod
|
|
def get_module_types():
|
|
raise NotImplementedError("This method needs to be implemented by a subclass!")
|
|
|
|
@staticmethod
|
|
def help():
|
|
raise NotImplementedError("Needs to be implemented by subclasses")
|
|
|
|
def __init__(self):
|
|
self._config = None
|
|
|
|
@property
|
|
def config(self):
|
|
return self._config
|
|
|
|
@config.setter
|
|
def config(self, value):
|
|
self._config = value
|