botrs 0.12.2

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
mod auth;
mod connect;
mod dispatch;
mod event_loop;
mod system;

use super::types::WsStream;
use futures_util::stream::SplitSink;
use std::sync::Arc;
use tokio::sync::Mutex;
use tokio_tungstenite::tungstenite::Message;

type SharedWriter = Arc<Mutex<SplitSink<WsStream, Message>>>;