diff --git a/defs/guess_voice.py b/defs/guess_voice.py index cdbdd15..a6ffe60 100644 --- a/defs/guess_voice.py +++ b/defs/guess_voice.py @@ -35,7 +35,8 @@ def get_key_list(data: list, key: str) -> list: def choice_voice(data: list) -> str: long_key = ['感兴趣的见闻', '关于神之眼', '生日', '爱好', '讨厌的食物', '想要了解', '有什么想要分享', - '突破的感觉', '喜欢的食物', '烦恼', '角色待机', '角色死亡'] + '突破的感觉', '喜欢的食物', '烦恼', '角色待机', '角色死亡', '关于', '初次见面', + '的时候', '早上好', '中午好', '晚上好', '晚安'] data_ = [] for i in data: for k in long_key: diff --git a/plugins/process.py b/plugins/process.py index f617fb0..d7017b2 100644 --- a/plugins/process.py +++ b/plugins/process.py @@ -293,5 +293,5 @@ async def inline_process(client: Client, query: InlineQuery): switch_pm_parameter="help", ) await query.answer(data, - switch_pm_text=f'{emoji.KEY} 目前已经索引了 {chara_count} 个角色', + switch_pm_text=f'{emoji.KEY} 搜索了 {chara_count} 个角色的 {len(voice_data.keys())} 条语音', switch_pm_parameter="help",)