blob: 8c265d33ee4b12994281a986d1d8b54d07f24ab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
use crate::Data;
use color_eyre::eyre::Report;
use poise::Command;
mod general;
mod moderation;
mod optional;
pub fn to_global_commands() -> Vec<Command<Data, Report>> {
vec![
general::ask(),
general::bing(),
general::convert(),
general::random(),
general::version(),
moderation::config(),
]
}
pub fn to_guild_commands() -> Vec<Command<Data, Report>> {
vec![optional::copypasta(), optional::teawiespam()]
}
|