Files
herald/src/state.rs
T

11 lines
183 B
Rust

use std::sync::Arc;
use tokio::sync::Mutex;
use crate::{bot::Bot, env::EnvConfig};
#[derive(Clone)]
pub struct AppState {
pub bot: Arc<Mutex<Bot>>,
pub config: EnvConfig,
}