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/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/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 833df38..df2d857 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -4,22 +4,12 @@ use color_eyre::eyre::Report; use poise::Command; mod general; -mod moderation; mod optional; pub fn to_global_commands() -> Vec<Command<Data, Report>> { - vec![ - general::ask(), - general::bing(), - general::convert(), - general::random(), - general::version(), - moderation::config(), - moderation::ban_user(), - moderation::kick_user(), - ] + general::to_comands() } pub fn to_optional_commands() -> Vec<Command<Data, Report>> { - vec![optional::copypasta(), optional::teawiespam()] + optional::to_commands() } |
