Reformat
This commit is contained in:
@@ -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('}', '')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user