🐛 修复AI对话限制错误的BUG
This commit is contained in:
parent
f7d153848f
commit
7eb8ba9dd8
@ -43,7 +43,7 @@ func AI(m *plugin.MessageContext) {
|
|||||||
if !friendInfo.EnableAi {
|
if !friendInfo.EnableAi {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if friendInfo.AiUsedToday > 0 && friendInfo.AiUsedToday >= friendInfo.AiFreeLimit {
|
if friendInfo.AiFreeLimit > 0 && friendInfo.AiUsedToday >= friendInfo.AiFreeLimit {
|
||||||
if notifyMap[m.FromUser] {
|
if notifyMap[m.FromUser] {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user