Fixed auto-role output by server #93

This commit is contained in:
2022-11-09 21:40:04 +01:00
parent 2483faef01
commit 6f3877700e
2 changed files with 16 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ class AutoRoleRepositoryABC(ABC):
def find_auto_role_by_id(self, id: int) -> Optional[AutoRole]: pass
@abstractmethod
def get_auto_roles_by_server_id(self, id: int) -> AutoRole: pass
def get_auto_roles_by_server_id(self, id: int) -> List[AutoRole]: pass
@abstractmethod
def get_auto_role_by_message_id(self, id: int) -> AutoRole: pass