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