mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
fix bug
This commit is contained in:
parent
d35d53825c
commit
df5a68bcec
@ -249,7 +249,7 @@ class WordBank(Model):
|
||||
else:
|
||||
query = query.filter(Q(group_id=event.group_id) | Q(word_scope=0))
|
||||
else:
|
||||
query = query.filter(Q(cword_scope=2) | Q(word_scope=0))
|
||||
query = query.filter(Q(word_scope=2) | Q(word_scope=0))
|
||||
if word_type:
|
||||
query = query.filter(word_scope=word_type)
|
||||
# 完全匹配
|
||||
|
||||
Loading…
Reference in New Issue
Block a user