Always self-deafen (#1491)

This commit is contained in:
Michaili K
2024-03-05 01:08:27 +01:00
committed by GitHub
parent 2e9dd5df49
commit a7807b96e2

View File

@@ -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)
{