File structure refactor

This commit is contained in:
2025-08-15 12:28:39 +05:00
parent ff70196756
commit 131999816b
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ from abc import ABC, abstractmethod
class MessageFactory(ABC): class MessageFactory(ABC):
@staticmethod
@abstractmethod @abstractmethod
def new(self, raw_message) -> object: def new(raw_message) -> object:
pass 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()