this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 21 lines 547 B view raw
1use fluxer_rs::{error::FluxerRsError, fluxerbot::FluxerBot}; 2 3use crate::dispatch::ColorbotDispatchHandler; 4 5pub mod commands; 6pub mod dispatch; 7 8#[tokio::main] 9async fn main() -> Result<(), FluxerRsError> { 10 env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("debug")).init(); 11 12 let bot = FluxerBot::init( 13 "<your bot token here>", 14 "wss://gateway.fluxer.app?v=1&encoding=json&compress=none", 15 "https://api.fluxer.app/v1", 16 )?; 17 18 bot.start(ColorbotDispatchHandler {}).await; 19 20 Ok(()) 21}