Crates.io | onebot_v11_oxidebot |
lib.rs | onebot_v11_oxidebot |
version | 0.1.4 |
source | src |
created_at | 2024-08-16 07:42:11.443807 |
updated_at | 2024-09-09 16:58:59.660003 |
description | OnebotV11 Bot for oxidebot framework |
homepage | https://github.com/canxin121/onebot_v11_oxidebot |
repository | https://github.com/canxin121/onebot_v11_oxidebot |
max_upload_size | |
id | 1340040 |
size | 152,696 |
cargo add onebot_v11_oxidebot
ReverseWsBot Example
#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();
let manager = oxidebot::OxideBotManager::new()
.bot(onebot_v11_oxidebot::OnebotV11ReverseWsBot::new(Default::default()).await)
.await;
manager.run_block().await;
}