mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
If cleverbot is disabled through permissions, let other things execute
This commit is contained in:
@@ -126,7 +126,7 @@ public class ChatterBotService : IExecOnMessage
|
|||||||
Log.Information("{PermissionMessage}", returnMsg);
|
Log.Information("{PermissionMessage}", returnMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (await _ccs.TryBlock(sg, usrMsg.Author, CleverBotResponseStr.CLEVERBOT_RESPONSE))
|
if (await _ccs.TryBlock(sg, usrMsg.Author, CleverBotResponseStr.CLEVERBOT_RESPONSE))
|
||||||
|
Reference in New Issue
Block a user