add banlist

This commit is contained in:
Raptorox 2026-08-01 14:20:49 +02:00
parent 9ff3aad199
commit f835beef10
No known key found for this signature in database
GPG key ID: 8B3556FC3ED1F6D8
2 changed files with 45 additions and 0 deletions

View file

@ -30,6 +30,7 @@ mod say;
mod list;
mod kill;
mod ban;
mod banlist;
impl Command {
pub fn raw(cmd: &str) -> Self {
@ -55,4 +56,8 @@ impl Command {
pub fn ban() -> ban::BanCommand {
ban::BanCommand::default()
}
pub fn banlist() -> banlist::BanlistCommand<banlist::NoFilter> {
banlist::BanlistCommand::new()
}
}