forked from Fascinated/Bat
fix image command category
This commit is contained in:
parent
f737b7d571
commit
f4d3752de7
@ -1,6 +1,7 @@
|
|||||||
package cc.fascinated.bat.command.impl.fun.image;
|
package cc.fascinated.bat.command.impl.fun.image;
|
||||||
|
|
||||||
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 Fascinated (fascinated7)
|
* @author Fascinated (fascinated7)
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@CommandInfo(name = "image", description = "View a random image", guildOnly = false)
|
@CommandInfo(name = "image", description = "View a random image", guildOnly = false, category = Category.FUN)
|
||||||
public class ImageCommand extends BatCommand {
|
public class ImageCommand extends BatCommand {
|
||||||
@Autowired
|
@Autowired
|
||||||
public ImageCommand(@NonNull ApplicationContext context) {
|
public ImageCommand(@NonNull ApplicationContext context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user