1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-06 03:00:24 +08:00

optimize: generate

This commit is contained in:
源文雨
2023-10-18 13:45:11 +09:00
parent 3bab1f9031
commit 6ef7a25c2c
6 changed files with 178 additions and 112 deletions

View File

@@ -56,14 +56,14 @@ ruleon:
Message:
- Message
Rule:
Prefix: [prefix, string]
Suffix: [suffix, string]
Command: [commands, string]
Regex: [regexPattern, string]
Keyword: [keyword, string]
FullMatch: [src, string]
FullMatchGroup: [src, "[]string"]
KeywordGroup: [keywords, "[]string"]
CommandGroup: [commands, "[]string"]
PrefixGroup: [prefix, "[]string"]
SuffixGroup: [suffix, "[]string"]
- [Prefix, prefix, string]
- [Suffix, suffix, string]
- [Command, commands, string]
- [Regex, regexPattern, string]
- [Keyword, keyword, string]
- [FullMatch, src, string]
- [FullMatchGroup, src, "[]string"]
- [KeywordGroup, keywords, "[]string"]
- [CommandGroup, commands, "[]string"]
- [PrefixGroup, prefix, "[]string"]
- [SuffixGroup, suffix, "[]string"]