from enum import Enum class Icons(Enum): def __str__(self): return str(self.value) DOC = "đ" ERR = "â" INDEX = "đī¸" INFO = "âšī¸" OK = "đ" SUCCESS = "â " WAIT = "â" WARN = "â ī¸" class Message(): def __init__(self, icon, content): self.icon = icon self.content = content def __str__(self): return f"{self.icon} {self.content}" class Messages(): def __init__(self, messages=[]): self.messages = messages def __str__(self): return f"""
""" def append(self, new_message): self.messages.append(new_message) def set(self, messages): self.messages = messages # class Message(): # def standing_by(self): # return "