summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
blob: db661e6f3d75793ede655837a131ddeee2e85c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use crate::Data;

use color_eyre::eyre::Report;
use poise::Command;

mod general;
mod moderation;
mod optional;

pub fn global() -> Vec<Command<Data, Report>> {
	general::to_comands()
}

pub fn optional() -> Vec<Command<Data, Report>> {
	optional::to_commands()
}

pub fn moderation() -> Vec<Command<Data, Report>> {
	moderation::to_commands()
}