add spotify feature

This commit is contained in:
Lee
2024-06-28 03:01:21 +01:00
parent 5c7a067f7a
commit fa10cf2019
70 changed files with 966 additions and 170 deletions

View File

@ -8,7 +8,8 @@ import net.dv8tion.jda.api.interactions.commands.build.SubcommandData;
/**
* @author Fascinated (fascinated7)
*/
@Getter @Setter
@Getter
@Setter
public class BatSubCommand implements BatCommandExecutor {
/**
* The information about the sub command
@ -33,10 +34,10 @@ public class BatSubCommand implements BatCommandExecutor {
/**
* Adds an option to the sub command
*
* @param optionType the type of the option
* @param name the name of the option
* @param optionType the type of the option
* @param name the name of the option
* @param description the description of the option
* @param required whether the option is required
* @param required whether the option is required
*/
public void addOption(OptionType optionType, String name, String description, boolean required) {
this.commandData.addOption(optionType, name, description, required);