blob: 5e6419cbfbfd10770c5e89b4832bb982dad59450 (
plain)
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
|
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(),
moderation::ban_user(),
moderation::kick_user(),
]
}
pub fn to_guild_commands() -> Vec<Command<Data, Report>> {
vec![optional::copypasta(), optional::teawiespam()]
}
|