cleanup commands and fix cmds in dms(???????)
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 41s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 41s
This commit is contained in:
@ -8,7 +8,6 @@ import lombok.NonNull;
|
||||
import net.dv8tion.jda.api.entities.Member;
|
||||
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
|
||||
import net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction;
|
||||
import net.dv8tion.jda.internal.interactions.CommandDataImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
@ -18,9 +17,7 @@ import org.springframework.stereotype.Component;
|
||||
public class PingCommand extends BatCommand {
|
||||
|
||||
public PingCommand() {
|
||||
super("ping");
|
||||
super.setDescription("Gets the ping of the bot");
|
||||
super.setCommandData(new CommandDataImpl(this.getName(), this.getDescription()));
|
||||
super("ping", "Gets the ping of the bot");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user