mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
add command aliases to whisper
This commit is contained in:
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"),
|
||||||
|
|||||||
Reference in new issue
Block a user