If cleverbot is disabled through permissions, let other things execute

This commit is contained in:
Kwoth
2022-11-08 07:42:58 +01:00
parent 25692b9585
commit 780a260b88

View File

@@ -126,7 +126,7 @@ public class ChatterBotService : IExecOnMessage
Log.Information("{PermissionMessage}", returnMsg);
}
return true;
return false;
}
if (await _ccs.TryBlock(sg, usrMsg.Author, CleverBotResponseStr.CLEVERBOT_RESPONSE))