Add category to ChannelCommand
This commit is contained in:
parent
d54d2ffe0d
commit
d088e2bf95
@ -1,6 +1,7 @@
|
|||||||
package cc.fascinated.bat.command.impl.server.channel;
|
package cc.fascinated.bat.command.impl.server.channel;
|
||||||
|
|
||||||
import cc.fascinated.bat.command.BatCommand;
|
import cc.fascinated.bat.command.BatCommand;
|
||||||
|
import cc.fascinated.bat.command.Category;
|
||||||
import cc.fascinated.bat.command.CommandInfo;
|
import cc.fascinated.bat.command.CommandInfo;
|
||||||
import lombok.NonNull;
|
import lombok.NonNull;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@ -11,7 +12,7 @@ import org.springframework.stereotype.Component;
|
|||||||
* @author Nick (okNick)
|
* @author Nick (okNick)
|
||||||
*/
|
*/
|
||||||
@Component
|
@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 {
|
public class ChannelCommand extends BatCommand {
|
||||||
@Autowired
|
@Autowired
|
||||||
public ChannelCommand(@NonNull ApplicationContext context) {
|
public ChannelCommand(@NonNull ApplicationContext context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user