blob: b6130abe2c9673aba1ac65fa8a75bc09c3540fe9 (
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
|
pub mod ask;
pub mod bing;
pub mod convert;
pub mod copypasta;
pub mod random;
pub mod teawiespam;
pub mod version;
use crate::{Data, Error};
use poise::Command;
pub fn to_global_commands() -> Vec<Command<Data, Error>> {
vec![
ask::ask(),
bing::bing(),
convert::convert(),
random::random(),
copypasta::copypasta(),
teawiespam::teawiespam(),
version::version(),
]
}
pub fn to_guild_commands() -> Vec<Command<Data, Error>> {
vec![copypasta::copypasta(), teawiespam::teawiespam()]
}
|