23 lines
No EOL
372 B
Rust
23 lines
No EOL
372 B
Rust
|
|
|
|
pub mod core;
|
|
pub mod modules;
|
|
use std::process::Output;
|
|
|
|
use crate::core::botinstance::ArcBox;
|
|
|
|
use crate::core::botinstance::BotInstance;
|
|
use tokio::sync::RwLock;
|
|
use std::sync::Arc;
|
|
pub type BotAR = Arc<RwLock<BotInstance>>;
|
|
|
|
#[tokio::main]
|
|
pub async fn main() {
|
|
|
|
let bot = BotInstance::init();
|
|
|
|
bot.runner().await;
|
|
|
|
println!("ERROR : EXIT Game loop");
|
|
|
|
} |