mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changed reason field for kick & ban from Any to Message
This commit is contained in:
parent
c55a66d5ba
commit
07e33286ad
@ -200,7 +200,7 @@ impl ChatCommand {
|
||||
),
|
||||
ChatCommand::Alias => cmd(vec![Any("name", Required)], "Change your alias", NoAdmin),
|
||||
ChatCommand::Ban => cmd(
|
||||
vec![Any("username", Required), Any("reason", Optional)],
|
||||
vec![Any("username", Required), Message(Optional)],
|
||||
"Ban a player with a given username",
|
||||
Admin
|
||||
),
|
||||
@ -275,7 +275,7 @@ impl ChatCommand {
|
||||
Admin,
|
||||
),
|
||||
ChatCommand::Kick => cmd(
|
||||
vec![Any("username", Required), Any("reason", Optional)],
|
||||
vec![Any("username", Required), Message(Optional)],
|
||||
"Kick a player with a given username",
|
||||
Admin
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user