servers/src/commands/mod.rs

12 lines
212 B
Rust

mod help;
pub use help::*;
use crate::plugins::Command;
/// Register default commands
pub fn register_commands() -> Vec<Box<dyn Command>> {
// create Vector with Commands
vec![Box::new(CommandHelp)]
}