summaryrefslogtreecommitdiff
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index b8d0381..14b7b2b 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -2,7 +2,6 @@ use crate::client::{Data, Error};
mod general;
mod moderation;
-mod optional;
type Command = poise::Command<Data, Error>;
@@ -18,12 +17,6 @@ macro_rules! cmd {
}
pub fn all() -> Vec<Command> {
- let mut all_commands = global();
- all_commands.append(&mut optional());
- all_commands
-}
-
-pub fn global() -> Vec<Command> {
vec![
cmd!(general, ask),
cmd!(general, bing),
@@ -36,7 +29,3 @@ pub fn global() -> Vec<Command> {
cmd!(moderation, clear_messages),
]
}
-
-pub fn optional() -> Vec<Command> {
- vec![cmd!(optional, teawiespam), cmd!(optional, uwurandom)]
-}