summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-18 18:13:32 -0500
committerseth <[email protected]>2024-02-18 18:38:30 -0500
commitf2cb41b11aa247ae1425d10c9162e7386089583c (patch)
treee43f3bec0a56d47d8b048f646aece2e1c8eccea7 /src/commands/mod.rs
parent0bf172a14076a929b095a3c02ec14ed9ab62b8a4 (diff)
add clear_messages command
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index b20258c..db661e6 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -4,6 +4,7 @@ use color_eyre::eyre::Report;
use poise::Command;
mod general;
+mod moderation;
mod optional;
pub fn global() -> Vec<Command<Data, Report>> {
@@ -13,3 +14,7 @@ pub fn global() -> Vec<Command<Data, Report>> {
pub fn optional() -> Vec<Command<Data, Report>> {
optional::to_commands()
}
+
+pub fn moderation() -> Vec<Command<Data, Report>> {
+ moderation::to_commands()
+}