mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
✨ 更新星铁wiki
This commit is contained in:
parent
688d98fec6
commit
c8d2e6760f
@ -80,9 +80,9 @@ async def sr_wiki_handler(state: T_State, regex_dict: dict = RegexDict()):
|
|||||||
if name:
|
if name:
|
||||||
state['name'] = Message(name)
|
state['name'] = Message(name)
|
||||||
else:
|
else:
|
||||||
data = list(name_map[TYPE_MAP[type]].values())
|
data = [i[0] for i in name_map[TYPE_MAP[type]].values()]
|
||||||
state['name_list'] = '\n'.join(
|
state['name_list'] = '\n'.join(
|
||||||
[' '.join(data[i: i + 3][0]) for i in range(0, len(data), 3)]
|
[' '.join(data[i: i + 3]) for i in range(0, len(data), 3)]
|
||||||
)
|
)
|
||||||
state['times'] = 1
|
state['times'] = 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user