➕ Support more voice
This commit is contained in:
parent
c7d0fee4de
commit
21e821a903
@ -35,7 +35,8 @@ def get_key_list(data: list, key: str) -> list:
|
|||||||
|
|
||||||
def choice_voice(data: list) -> str:
|
def choice_voice(data: list) -> str:
|
||||||
long_key = ['感兴趣的见闻', '关于神之眼', '生日', '爱好', '讨厌的食物', '想要了解', '有什么想要分享',
|
long_key = ['感兴趣的见闻', '关于神之眼', '生日', '爱好', '讨厌的食物', '想要了解', '有什么想要分享',
|
||||||
'突破的感觉', '喜欢的食物', '烦恼', '角色待机', '角色死亡']
|
'突破的感觉', '喜欢的食物', '烦恼', '角色待机', '角色死亡', '关于', '初次见面',
|
||||||
|
'的时候', '早上好', '中午好', '晚上好', '晚安']
|
||||||
data_ = []
|
data_ = []
|
||||||
for i in data:
|
for i in data:
|
||||||
for k in long_key:
|
for k in long_key:
|
||||||
|
@ -293,5 +293,5 @@ async def inline_process(client: Client, query: InlineQuery):
|
|||||||
switch_pm_parameter="help",
|
switch_pm_parameter="help",
|
||||||
)
|
)
|
||||||
await query.answer(data,
|
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",)
|
switch_pm_parameter="help",)
|
||||||
|
Loading…
Reference in New Issue
Block a user