PluralKit/crates/command_definitions/src/help.rs

12 lines
335 B
Rust
Raw Normal View History

use super::*;
pub fn cmds() -> impl Iterator<Item = Command> {
let help = ["help", "h"];
[
command!([help], "help").help("Shows the help command"),
command!([help, "commands"], "help_commands").help("help commands"),
command!([help, "proxy"], "help_proxy").help("help proxy"),
]
.into_iter()
}