aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/mod.rs
blob: 12e2a3d079d8587fff407c17f83c45ba66061767 (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
27
28
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;
pub mod leaderboard;

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.extend(leaderboard::commands());
    cmds
}