mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-07 02:26:43 +01:00
Refactor Command usage and description strings
This commit is contained in:
@@ -13,10 +13,9 @@ import java.util.Random;
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "announce",
|
||||
usage = "announce|a <\"tpl\" templateId|\"refresh\"|\"revoke\" templateId|content>",
|
||||
usage = {"<content>", "refresh", "(tpl|revoke) <templateId>"},
|
||||
permission = "server.announce",
|
||||
aliases = {"a"},
|
||||
description = "commands.announce.description",
|
||||
targetRequirement = Command.TargetRequirement.NONE)
|
||||
public final class AnnounceCommand implements CommandHandler {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user