31 lines
634 B
Rust
31 lines
634 B
Rust
//! A Rust Discord Bot, in charge of greatly simplifying the process of finding a meeting date, organising an event and choosing between several options.
|
|
//!
|
|
//!
|
|
|
|
// This line is here to force the use of extensive documentation
|
|
#![warn(clippy::missing_docs_in_private_items)]
|
|
|
|
use config::init_logger;
|
|
use io::discord_main_loop;
|
|
|
|
mod config;
|
|
mod date;
|
|
mod error_handling;
|
|
mod ids;
|
|
mod io;
|
|
mod modules;
|
|
mod persistence;
|
|
mod server;
|
|
mod votes;
|
|
mod watchdog;
|
|
|
|
#[cfg(not(tarpaulin_include))]
|
|
#[tokio::main]
|
|
async fn main() {
|
|
init_logger();
|
|
|
|
discord_main_loop().await;
|
|
// use date_parse::test_parsing;
|
|
// test_parsing();
|
|
}
|