blob: 5edf0b756bbbdcaa33d3735bca2b45295e1711f8 (
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
26
27
28
|
pub mod ask;
pub mod bing;
pub mod convert;
pub mod copypasta;
pub mod random;
pub mod teawiespam;
pub mod version;
use crate::Data;
use color_eyre::eyre::Report;
use poise::Command;
pub fn to_global_commands() -> Vec<Command<Data, Report>> {
vec![
ask::ask(),
bing::bing(),
convert::convert(),
random::random(),
copypasta::copypasta(),
teawiespam::teawiespam(),
version::version(),
]
}
pub fn to_guild_commands() -> Vec<Command<Data, Report>> {
vec![copypasta::copypasta(), teawiespam::teawiespam()]
}
|