Some stuff lol
This commit is contained in:
parent
76886f1bf8
commit
53a00f79c8
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ public class VolumeCommand implements Command {
|
|||
|
||||
@Override
|
||||
public void executed(String[] args, CommandEvent event) {
|
||||
if (args.length > 0) {
|
||||
if (args.length == 1) {
|
||||
if (event.getAudioManager().hasPlayer(event.getGuild()) && event.getAudioManager().getPlayer(event.getGuild()).getPlayingTrack() != null) {
|
||||
if (event.getMember().getVoiceState().inVoiceChannel() && event.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && event.getGuild().getSelfMember().getVoiceState().getChannel().equals(event.getMember().getVoiceState().getChannel())) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue