Skip to content

Commit

Permalink
Always self-deafen (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichailiK authored Mar 5, 2024
1 parent 2e9dd5d commit a7807b9
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 a7807b9

Please sign in to comment.