Quick update to my documentation relating to announcements.

This commit is contained in:
Nicholas Rees 2021-05-01 01:47:42 -05:00
parent d19afbb5be
commit b616f84808
2 changed files with 2 additions and 2 deletions

@ -54,7 +54,7 @@ public class AnnounceManager extends Module {
/**
* Send a server-wide announcement
*
* @param type the type of announcement to send
* @param type the {@link AnnounceType} to use for the announcement
* @param message the message that will be sent in the announcement
*/
public void sendAnnouncement(AnnounceType type, String message) {

@ -22,7 +22,7 @@ import java.util.stream.Collectors;
public class AnnounceCommand {
private final AnnounceManager announceManager;
@Command(name = "announce", usage = "<type> <message ...>", description = "Announces a message", ranks = { Rank.ADMIN })
@Command(name = "announce", usage = "<type> <message ...>", description = "Announce a message", ranks = { Rank.ADMIN })
public void onCommand(CommandProvider command) {
CommandSender sender = command.getSender();
String[] args = command.getArgs();