summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
blob: 88a47b360dbab52480e704184e16d4298e9cf606 (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 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()
}