Skip to content

Commit

Permalink
Always self-deafen (jagrosh#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichailiK authored Mar 5, 2024
1 parent c1dbd1d commit a789299
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ protected void execute(CommandEvent event)
try
{
event.getGuild().getAudioManager().openAudioConnection(userState.getChannel());
event.getGuild().getAudioManager().setSelfDeafened(true);
}
catch(PermissionException ex)
{
Expand Down

0 comments on commit a789299

Please sign in to comment.