Add category to ChannelCommand

This commit is contained in:
Nick 2024-06-27 21:15:27 -05:00
parent d54d2ffe0d
commit d088e2bf95

View File

@ -1,6 +1,7 @@
package cc.fascinated.bat.command.impl.server.channel;
import cc.fascinated.bat.command.BatCommand;
import cc.fascinated.bat.command.Category;
import cc.fascinated.bat.command.CommandInfo;
import lombok.NonNull;
import org.springframework.beans.factory.annotation.Autowired;
@ -11,7 +12,7 @@ import org.springframework.stereotype.Component;
* @author Nick (okNick)
*/
@Component
@CommandInfo(name = "channel", description = "View or set information about a channel")
@CommandInfo(name = "channel", description = "View or set information about a channel", category = Category.SERVER)
public class ChannelCommand extends BatCommand {
@Autowired
public ChannelCommand(@NonNull ApplicationContext context) {