diff options
Diffstat (limited to 'crates/bot-commands/src/lib.rs')
| -rw-r--r-- | crates/bot-commands/src/lib.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/crates/bot-commands/src/lib.rs b/crates/bot-commands/src/lib.rs deleted file mode 100644 index 79fce17..0000000 --- a/crates/bot-commands/src/lib.rs +++ /dev/null @@ -1,17 +0,0 @@ -use serenity::builder::CreateCommand; - -pub mod about; -pub mod ping; -pub mod track; - -macro_rules! cmd { - ($module: ident) => { - $module::register() - }; -} - -/// Return a list of all our [`CreateCommand`]s -#[must_use] -pub fn to_vec() -> Vec<CreateCommand> { - vec![cmd!(about), cmd!(ping), cmd!(track)] -} |
