From e38a441e37ec1a1dff07cf8bcff3e36a411709aa Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 15 Dec 2023 01:14:15 -0500 Subject: remove moderation commands this was mainly an experiment; i don't think we need them --- src/commands/general/mod.rs | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'src/commands/general/mod.rs') 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> { + vec![ + ask::ask(), + bing::bing(), + config::config(), + convert::convert(), + random::random(), + version::version(), + ] +} -- cgit v1.2.3