mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-16 15:30:59 +00:00
refactor: 配置文件均改为json
This commit is contained in:
@@ -16,6 +16,7 @@ class PrefixRule(rule_model.GroupRespondRule):
|
||||
|
||||
for prefix in prefixes:
|
||||
if message_text.startswith(prefix):
|
||||
|
||||
return entities.RuleJudgeResult(
|
||||
matching=True,
|
||||
replacement=mirai.MessageChain([
|
||||
|
||||
Reference in New Issue
Block a user