keybase-bot-api 0.4.2

Write bots for Keybase
1
2
3
4
5
6
7
8
9
use keybase_bot_api::{Bot, Status};
fn main() {
    let bot = Bot::new(
        "mmou",
        option_env!("KEYBASE_PAPERKEY").expect("Missing KEYBASE_PAPERKEY env"),
    )
    .unwrap();
    println!("Username is: {:?}", bot.status().unwrap().username);
}