Initalize repo

This commit is contained in:
BaerbelBox
2022-03-31 15:21:47 +02:00
parent 557f3e9b31
commit 7cf65ef092
98 changed files with 15860 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
from FaustBot.Communication import Connection
from FaustBot.Modules.ModulePrototype import ModulePrototype
from FaustBot.Modules.ModuleType import ModuleType
class NoticeObserverPrototype(ModulePrototype):
@staticmethod
def cmd():
raise NotImplementedError()
@staticmethod
def help():
raise NotImplementedError("Need sto be implemented by subclasses!")
@staticmethod
def get_module_types():
return [ModuleType.ON_NOTICE]
def __init__(self):
super().__init__()
def update_on_notice(self, data, connection: Connection):
raise NotImplementedError('Needs to be implemented by csubclasses!')