html terminal
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index a954441..a05b28c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,9 @@
#![feature(lazy_cell, let_chains, iter_intersperse)]
+#![allow(mixed_script_confusables)]
use std::str::FromStr;
#[macro_use]
mod logging;
+mod alerts;
mod bot;
mod process;
mod server;
@@ -12,6 +14,7 @@ use std::net::SocketAddr;
#[tokio::main(flavor = "current_thread")]
async fn main() {
+ tokio::spawn(alerts::run());
Server::spawn(SocketAddr::from((
[0, 0, 0, 0],
std::env::var("PORT").map_or(4001, |x| u16::from_str(&x).unwrap()),