change: cleanup imports

This commit is contained in:
ZtereoHYPE 2021-12-28 01:36:17 +01:00
parent a6228af48d
commit fee15771ad
6 changed files with 4 additions and 19 deletions

View file

@ -1,14 +1,11 @@
package codes.ztereohype.ztereomusic.command.commands;
import codes.ztereohype.ztereomusic.ZtereoMUSIC;
import codes.ztereohype.ztereomusic.audio.TrackManager;
import codes.ztereohype.ztereomusic.audio.TrackManagers;
import codes.ztereohype.ztereomusic.command.Command;
import codes.ztereohype.ztereomusic.command.CommandMeta;
import codes.ztereohype.ztereomusic.command.permissions.VoiceChecks;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.managers.AudioManager;
public class Disconnect implements Command {
private final CommandMeta meta;

View file

@ -1,18 +1,13 @@
package codes.ztereohype.ztereomusic.command.permissions;
import codes.ztereohype.ztereomusic.audio.TrackManager;
import codes.ztereohype.ztereomusic.audio.TrackManagers;
import lombok.Getter;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.VoiceChannel;
import net.dv8tion.jda.api.managers.AudioManager;
import javax.annotation.Nullable;
import java.util.Objects;
// todo: make an actual good system
// Since these permission checks basically need to run for every single voice-related command,
// we just get the info we need... idk i need to think this through
public enum VoiceChecks {
BOT_CONNECTED(new Check() {
@Override