add mcp post bot
This commit is contained in:
@@ -285,7 +285,7 @@ fn load_user_limit() -> u32 {
|
||||
token::load_config()
|
||||
.ok()
|
||||
.and_then(|c| c["bot"]["limit"].as_u64())
|
||||
.unwrap_or(3) as u32
|
||||
.unwrap_or(100) as u32
|
||||
}
|
||||
|
||||
/// Check if a user is within daily rate limit. Returns true if allowed.
|
||||
|
||||
Reference in New Issue
Block a user