blob: 90c7c146ab0ebc0f1508a580a76bd6624affb9a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#![feature(try_blocks)]
#[cfg(feature = "db")]
pub mod db;
#[cfg(not(feature = "games"))]
pub mod game {
use serenity::framework::StandardFramework;
#[inline]
fn register(f: StandardFramework) -> StandardFramework {
return f;
}
}
pub mod bot;
pub mod commands;
pub mod config;
pub mod log_setup;
pub mod util;
pub use crate::{
config::*,
util::*,
};
pub type PoiseData = ();
pub type PoiseContext<'a> = poise::Context<'a, PoiseData, anyhow::Error>;
|