mirror of https://github.com/MedzikUser/servers
16 lines
312 B
Rust
16 lines
312 B
Rust
//! Build-in commands
|
|
|
|
mod disconnect;
|
|
mod help;
|
|
|
|
use crate::plugins::Command;
|
|
|
|
/// Register build-in commands
|
|
pub fn register_commands() -> Vec<Box<dyn Command>> {
|
|
// create array with build-in commands
|
|
vec![
|
|
Box::new(help::CommandHelp),
|
|
Box::new(disconnect::CommandDisconnect),
|
|
]
|
|
}
|