diff options
| author | seth <[email protected]> | 2023-12-15 01:14:15 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-15 16:41:13 -0500 |
| commit | e38a441e37ec1a1dff07cf8bcff3e36a411709aa (patch) | |
| tree | 4bb305a9981fca674c765eda35ec155f83b55367 /src/commands/general/mod.rs | |
| parent | 89f34a53f7f89261bd23ebd06fb7531d6ceca101 (diff) | |
remove moderation commands
this was mainly an experiment; i don't think we need them
Diffstat (limited to 'src/commands/general/mod.rs')
| -rw-r--r-- | src/commands/general/mod.rs | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/commands/general/mod.rs b/src/commands/general/mod.rs index ffb4d63..1031d5b 100644 --- a/src/commands/general/mod.rs +++ b/src/commands/general/mod.rs @@ -1,11 +1,22 @@ +use crate::Data; + +use color_eyre::eyre::Report; +use poise::Command; + mod ask; mod bing; +mod config; mod convert; mod random; mod version; -pub use ask::ask; -pub use bing::bing; -pub use convert::convert; -pub use random::random; -pub use version::version; +pub fn to_comands() -> Vec<Command<Data, Report>> { + vec![ + ask::ask(), + bing::bing(), + config::config(), + convert::convert(), + random::random(), + version::version(), + ] +} |
