File structure refactor
This commit is contained in:
parent
ff70196756
commit
131999816b
@ -2,6 +2,7 @@ from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class MessageFactory(ABC):
|
||||
@staticmethod
|
||||
@abstractmethod
|
||||
def new(self, raw_message) -> object:
|
||||
def new(raw_message) -> object:
|
||||
pass
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
from _common import MessageFactory
|
||||
from openai_data_models import Message
|
||||
|
||||
|
||||
class DiscordMessageFactory(MessageFactory):
|
||||
@staticmethod
|
||||
def new(raw_message) -> Message:
|
||||
Message()
|
||||
Loading…
x
Reference in New Issue
Block a user