Stop Command fix
This commit is contained in:
parent
fa957c6ba5
commit
0e7c0b941f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ public class StopCommand implements Command {
|
|||
|
||||
@Override
|
||||
public void executed(String[] args, CommandEvent event) {
|
||||
new AudioManager().players.remove(event.getGuild().getId());
|
||||
AudioManager.players.remove(event.getGuild().getId());
|
||||
new AudioManager().getPlayer(event.getGuild()).destroy();
|
||||
new AudioManager().getTrackManager(event.getGuild()).purgeQueue();
|
||||
event.getGuild().getAudioManager().closeAudioConnection();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue