Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no need to check the type of r.reg now #20

Closed
wants to merge 1 commit into from

Conversation

lava081
Copy link
Contributor

@lava081 lava081 commented Aug 18, 2024

/utils/config has already translate it into RegExp.
QQ apps usually automatically add a space after each @.

/utils/config has already translate it into RegExp.
QQ apps usually automatically add a space after each @.
@@ -215,9 +215,7 @@ export class AdapterQQBot implements KarinAdapter {
} else {
const { regex } = Config.getBotConfig(this.account.uid) || { regex: [] }
for (const r of regex) {
const reg = r.reg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const加回来...

@lava081 lava081 closed this Aug 30, 2024
@lava081 lava081 deleted the patch-1 branch August 30, 2024 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants