mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
implement command root
This commit is contained in:
parent
c1ed7487d7
commit
15ffd16c01
11 changed files with 107 additions and 170 deletions
|
|
@ -1 +0,0 @@
|
|||
|
||||
|
|
@ -3,6 +3,7 @@ use super::*;
|
|||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
let help = ("help", ["h"]);
|
||||
[
|
||||
command!(("commands", ["cmd", "c"]), ("subject", OpaqueString) => "commands_list"),
|
||||
command!(("dashboard", ["dash"]) => "dashboard"),
|
||||
command!("explain" => "explain"),
|
||||
command!(help => "help").help("Shows the help command"),
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
pub mod admin;
|
||||
pub mod api;
|
||||
pub mod autoproxy;
|
||||
pub mod commands;
|
||||
pub mod config;
|
||||
pub mod debug;
|
||||
pub mod fun;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue