add command aliases to whisper

This commit is contained in:
Draycia committed 2021-12-09 17:59:32 -08:00
1 parent d692696bbd
commit a86332901d
1 file changed
+1 -1
@@ -42,7 +42,7 @@ public class WhisperCommand {
final CarbonMessageService messageService, final CarbonMessageService messageService,
final CarbonServer carbonServer final CarbonServer carbonServer
) { ) {
final var command = commandManager.commandBuilder("whisper", "w", "message", "msg") final var command = commandManager.commandBuilder("whisper", "w", "message", "msg", "m", "tell")
.argument(CarbonPlayerArgument.newBuilder("player").withMessageService(messageService).asRequired(), .argument(CarbonPlayerArgument.newBuilder("player").withMessageService(messageService).asRequired(),
RichDescription.of(messageService.commandWhisperArgumentPlayer().component())) RichDescription.of(messageService.commandWhisperArgumentPlayer().component()))
.argument(StringArgument.greedy("message"), .argument(StringArgument.greedy("message"),