Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

公招指令中,除了"公招"之外的关键词不会被进行文本处理 #35

Closed
Kreator33 opened this issue Mar 6, 2023 · 1 comment

Comments

@Kreator33
Copy link

recruit = on_command("公招", aliases={"公开招募", "方舟公招"})

elif event.message.extract_plain_text().replace("公招", "").replace(start, "").strip(): # 文字tag

tags = event.message.extract_plain_text().replace("公招", "").replace(start, "").strip()

代码中只会对"公招"进行替换处理
QQ图片20230306165353.Is8KFT9xM.jpg]


尝试对其稍微改动,目前能够正常运行.
code.scQSf-jLG.png

@NumberSir
Copy link
Owner

已修复

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants