diff --git a/src/Bot/nerimity/_enums.py b/src/Bot/nerimity/_enums.py index b9e0035..9da09c0 100644 --- a/src/Bot/nerimity/_enums.py +++ b/src/Bot/nerimity/_enums.py @@ -5,10 +5,10 @@ class GlobalClientInformation(): SERVERS = {} class ConsoleShortcuts(): - def log(): return f"{Colors.MAGENTA}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" - def ok(): return f"{Colors.GREEN}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" - def warn(): return f"{Colors.YELLOW}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" - def error(): return f"{Colors.RED}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" + def log(self): return f"{Colors.MAGENTA}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" + def ok(self): return f"{Colors.GREEN}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" + def warn(self): return f"{Colors.YELLOW}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" + def error(self): return f"{Colors.RED}[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')}]{Colors.WHITE} |" class Colors(): BLACK = "\u001b[30m" @@ -63,4 +63,4 @@ class MessageType(): class AttachmentTypes(): INCOMING = 0 - OUTGOING = 1 \ No newline at end of file + OUTGOING = 1