forked from Fascinated/Bat
fix spotify command category
This commit is contained in:
parent
88b88633a7
commit
f3e5116708
@ -1,6 +1,7 @@
|
|||||||
package cc.fascinated.bat.features.spotify.command;
|
package cc.fascinated.bat.features.spotify.command;
|
||||||
|
|
||||||
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 = "spotify", description = "Change your Spotify settings", guildOnly = false)
|
@CommandInfo(name = "spotify", description = "Change your Spotify settings", guildOnly = false, category = Category.MUSIC)
|
||||||
public class SpotifyCommand extends BatCommand {
|
public class SpotifyCommand extends BatCommand {
|
||||||
@Autowired
|
@Autowired
|
||||||
public SpotifyCommand(@NonNull ApplicationContext context) {
|
public SpotifyCommand(@NonNull ApplicationContext context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user