Documented announcements
This commit is contained in:
parent
20b93acc3b
commit
8ceb57aee1
@ -51,6 +51,12 @@ public class AnnounceManager extends Module {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Send a server-wide announcement
|
||||||
|
*
|
||||||
|
* @param type the type of announcement to send
|
||||||
|
* @param message the message that will be sent in the announcement
|
||||||
|
*/
|
||||||
public void sendAnnouncement(AnnounceType type, String message) {
|
public void sendAnnouncement(AnnounceType type, String message) {
|
||||||
JedisCommandHandler.getInstance().send(new AnnounceCommand(type, message));
|
JedisCommandHandler.getInstance().send(new AnnounceCommand(type, message));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user