Always self-deafen (#1491)
This commit is contained in:
1 parent
2e9dd5df49
commit
a7807b96e2
1 file changed
+1
@@ -86,6 +86,7 @@ public abstract class MusicCommand extends Command
|
||||
try
|
||||
{
|
||||
event.getGuild().getAudioManager().openAudioConnection(userState.getChannel());
|
||||
event.getGuild().getAudioManager().setSelfDeafened(true);
|
||||
}
|
||||
catch(PermissionException ex)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user