ircbot 0.2.1

An async IRC bot framework for Rust powered by Tokio and procedural macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ircbot::{bot, Context, Result};

#[bot]
impl BadCronBot {
    #[on(cron = "not a valid cron expression")]
    async fn tick(&self, ctx: Context) -> Result {
        ctx.say("tick")
    }
}

fn main() {}