forked from Fascinated/Bat
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;
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user