fix some bug

This commit is contained in:
yanyongyu
2020-08-23 10:45:26 +08:00
parent 87a848d8c3
commit a895089a8b
8 changed files with 39 additions and 18 deletions

View File

@ -65,7 +65,8 @@ async def handle_event(bot: Bot, event: Event):
return
# Trie Match
_, _ = TrieRule.get_value(bot, event, state)
if event.type == "message":
_, _ = TrieRule.get_value(bot, event, state)
break_flag = False
for priority in sorted(matchers.keys()):