summaryrefslogtreecommitdiff
path: root/src/main.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/main.rs
parent0bf172a14076a929b095a3c02ec14ed9ab62b8a4 (diff)
add clear_messages command
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 1eef5bf..3cf07f9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -91,6 +91,7 @@ async fn main() -> Result<()> {
commands: {
let mut commands = commands::global();
commands.append(&mut commands::optional());
+ commands.append(&mut commands::moderation());
commands
},
on_error: |error| Box::pin(handlers::handle_error(error)),