diff --git a/constants.py b/constants.py index 3c64090..87c6c50 100644 --- a/constants.py +++ b/constants.py @@ -13,11 +13,11 @@ class ChatType(IntEnum): @staticmethod def is_in_chat_types(chat_type: int) -> bool: if chat_type in [ChatType.TIGER_BOT.value, ChatType.CHATGPT.value, - ChatType.XINGHUO_WEB.value, ChatType.CHATGLM.value,ChatType.BardAssistant.value]: + ChatType.XINGHUO_WEB.value, ChatType.CHATGLM.value, + ChatType.BardAssistant.value]: return True return False @staticmethod def help_hint() -> str: return str({member.value: member.name for member in ChatType}).replace('{', '').replace('}', '') -