diff options
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index df2d857..b20258c 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -6,10 +6,10 @@ use poise::Command; mod general; mod optional; -pub fn to_global_commands() -> Vec<Command<Data, Report>> { +pub fn global() -> Vec<Command<Data, Report>> { general::to_comands() } -pub fn to_optional_commands() -> Vec<Command<Data, Report>> { +pub fn optional() -> Vec<Command<Data, Report>> { optional::to_commands() } |
