botrs 0.13.0

A Rust QQ Bot framework based on QQ Guild Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Constants shared across the QQ Bot API client.

pub(crate) const HEADER_TRACE_ID: &str = "X-Tps-trace-ID";
pub(crate) const TOKEN_API_URL: &str = "https://bots.qq.com";

#[cfg(test)]
mod tests {
    #[test]
    fn test_constants() {
        assert_eq!(super::HEADER_TRACE_ID, "X-Tps-trace-ID");
        assert_eq!(super::TOKEN_API_URL, "https://bots.qq.com");
    }
}