lichessbot 0.1.7

Lichess bot. Under construction.
Documentation

lichessbot

documentation Crates.io Crates.io (recent)

Lichess bot. Under construction.

Usage

extern crate env_logger;

use dotenv::dotenv;

use lichessbot::lichessbot::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>>{
	dotenv().ok();
	env_logger::init();

	let mut bot = LichessBot::new();

	bot.stream().await
}

Logging

export RUST_LOG=info
# or 
export RUST_LOG=debug