feat: remove $ from condition field name

This commit is contained in:
wancat committed 2023-10-29 17:42:31 +08:00
1 parent 917083ad30
commit 96678a45c3
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -58,8 +58,8 @@ export default class CommandHandler extends SessionHandler {
return (
this.checkKeys(condition) &&
(await this.checkFiles(condition.files)) &&
(await this.checkNot(condition.$not)) &&
(await this.checkOr(condition.$or)) === true
(await this.checkNot(condition.not)) &&
(await this.checkOr(condition.or)) === true
)
}