mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-08 04:55:54 +08:00
fix char name
This commit is contained in:
parent
f7abecab32
commit
0059e0dbe7
@ -34,7 +34,7 @@ async def text2pic(text: str, max_size: int = 800, font_size: int = 20):
|
|||||||
|
|
||||||
@sv_sr_wiki.on_prefix("ark角色图鉴")
|
@sv_sr_wiki.on_prefix("ark角色图鉴")
|
||||||
async def send_role_wiki_pic(bot: Bot, ev: Event):
|
async def send_role_wiki_pic(bot: Bot, ev: Event):
|
||||||
char_name = "".join(re.findall("[\u4e00-\u9fa5]+", ev.text))
|
char_name = ev.text[1:] if ev.text[0] == " " else ev.text
|
||||||
logger.info(char_name)
|
logger.info(char_name)
|
||||||
|
|
||||||
char_id = None
|
char_id = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user