summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
blob: 08cfc3dd2773228afa24d1de564fd4ced09db605 (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
29
30
pub mod ask;
pub mod bing;
pub mod convert;
pub mod copypasta;
pub mod random_lore;
pub mod random_shiggy;
pub mod random_teawie;
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_lore::random_lore(),
		random_shiggy::random_shiggy(),
		random_teawie::random_teawie(),
		copypasta::copypasta(),
		teawiespam::teawiespam(),
		version::version(),
	]
}

pub fn to_guild_commands() -> Vec<Command<Data, Error>> {
	vec![copypasta::copypasta(), teawiespam::teawiespam()]
}