diff options
| author | salmonik <raisersoft@proton.me> | 2026-07-08 02:13:35 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-07-08 02:13:35 +0200 |
| commit | cd8ed8bc5793985df2c1692072a932ceee517b95 (patch) | |
| tree | 42d18a4140259b5c68b4dd05b7fcb398f78b8d7f /src/commands/mod.rs | |
| parent | Merge pull request 'Voice related fixes, alongside simplifying assistant' (#5... (diff) | |
| download | senator-sperma-cd8ed8bc5793985df2c1692072a932ceee517b95.tar.gz senator-sperma-cd8ed8bc5793985df2c1692072a932ceee517b95.zip | |
OPEN THE RUST GATES
Signed-off-by: salmonik <raisersoft@proton.me>
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs new file mode 100644 index 0000000..9d6a1d0 --- /dev/null +++ b/src/commands/mod.rs | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | pub mod music; | ||
| 2 | pub mod tts; | ||
| 3 | pub mod ai; | ||
| 4 | pub mod web; | ||
| 5 | pub mod math; | ||
| 6 | pub mod qr; | ||
| 7 | pub mod cron; | ||
| 8 | pub mod trigger; | ||
| 9 | pub mod utilities; | ||
| 10 | pub mod autocomplete; | ||
| 11 | |||
| 12 | use crate::Data; | ||
| 13 | |||
| 14 | pub fn all_commands() -> Vec<poise::Command<Data, crate::error::Error>> { | ||
| 15 | let mut cmds = Vec::new(); | ||
| 16 | cmds.extend(music::commands()); | ||
| 17 | cmds.extend(tts::commands()); | ||
| 18 | cmds.extend(ai::commands()); | ||
| 19 | cmds.extend(web::commands()); | ||
| 20 | cmds.extend(math::commands()); | ||
| 21 | cmds.extend(qr::commands()); | ||
| 22 | cmds.extend(cron::commands()); | ||
| 23 | cmds.extend(trigger::commands()); | ||
| 24 | cmds.extend(utilities::commands()); | ||
| 25 | cmds | ||
| 26 | } | ||
