summaryrefslogtreecommitdiff
path: root/src/commands/optional/mod.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-15 01:14:15 -0500
committerseth <[email protected]>2023-12-15 16:41:13 -0500
commite38a441e37ec1a1dff07cf8bcff3e36a411709aa (patch)
tree4bb305a9981fca674c765eda35ec155f83b55367 /src/commands/optional/mod.rs
parent89f34a53f7f89261bd23ebd06fb7531d6ceca101 (diff)
remove moderation commands
this was mainly an experiment; i don't think we need them
Diffstat (limited to 'src/commands/optional/mod.rs')
-rw-r--r--src/commands/optional/mod.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/commands/optional/mod.rs b/src/commands/optional/mod.rs
index 451deeb..2be1fef 100644
--- a/src/commands/optional/mod.rs
+++ b/src/commands/optional/mod.rs
@@ -1,5 +1,11 @@
+use crate::Data;
+
+use color_eyre::eyre::Report;
+use poise::Command;
+
mod copypasta;
mod teawiespam;
-pub use copypasta::copypasta;
-pub use teawiespam::teawiespam;
+pub fn to_commands() -> Vec<Command<Data, Report>> {
+ vec![copypasta::copypasta(), teawiespam::teawiespam()]
+}