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

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

@Kreator33

Description

@Kreator33

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions