mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Add /ch command
This commit is contained in:
1 parent
f1ad277003
commit
ff40025fe5
1 file changed
+7
@@ -137,6 +137,13 @@ public class CarbonChannelRegistry extends RegistryImpl<Key, ChatChannel> implem
|
|||||||
.build(); // TODO: command aliases
|
.build(); // TODO: command aliases
|
||||||
|
|
||||||
commandManager.command(command);
|
commandManager.command(command);
|
||||||
|
|
||||||
|
var channelCommand = commandManager.commandBuilder("channel", "ch")
|
||||||
|
.literal(channelKey.value())
|
||||||
|
.proxies(command)
|
||||||
|
.build();
|
||||||
|
|
||||||
|
commandManager.command(channelCommand);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user