hotfix #102

Merged
李寻欢 merged 4 commits from hotfix into main 2024-08-21 15:53:30 +08:00
Showing only changes of commit 7eb8ba9dd8 - Show all commits

View File

@ -43,7 +43,7 @@ func AI(m *plugin.MessageContext) {
if !friendInfo.EnableAi {
return
}
if friendInfo.AiUsedToday > 0 && friendInfo.AiUsedToday >= friendInfo.AiFreeLimit {
if friendInfo.AiFreeLimit > 0 && friendInfo.AiUsedToday >= friendInfo.AiFreeLimit {
if notifyMap[m.FromUser] {
return
}