aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/mod.rs
blob: 9d6a1d07bb5b3bd7457452d7eb583079751bd8c8 (plain) (blame)
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 music;
pub mod tts;
pub mod ai;
pub mod web;
pub mod math;
pub mod qr;
pub mod cron;
pub mod trigger;
pub mod utilities;
pub mod autocomplete;

use crate::Data;

pub fn all_commands() -> Vec<poise::Command<Data, crate::error::Error>> {
    let mut cmds = Vec::new();
    cmds.extend(music::commands());
    cmds.extend(tts::commands());
    cmds.extend(ai::commands());
    cmds.extend(web::commands());
    cmds.extend(math::commands());
    cmds.extend(qr::commands());
    cmds.extend(cron::commands());
    cmds.extend(trigger::commands());
    cmds.extend(utilities::commands());
    cmds
}