Made /alias moderator-only

This commit is contained in:
Joshua Barretto 2021-06-17 19:55:46 +01:00
parent 96cbf60c3f
commit 0067cea560

View File

@ -295,7 +295,11 @@ impl ChatCommand {
"Spawns an airship",
Some(Admin),
),
ChatCommand::Alias => cmd(vec![Any("name", Required)], "Change your alias", None),
ChatCommand::Alias => cmd(
vec![Any("name", Required)],
"Change your alias",
Some(Moderator),
),
ChatCommand::ApplyBuff => cmd(
vec![
Enum("buff", BUFFS.clone(), Required),