Skip to content

Commit

Permalink
Change fix for stage channels
Browse files Browse the repository at this point in the history
  • Loading branch information
bombies committed Oct 7, 2023
1 parent 82e3a69 commit bbd8daa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/kotlin/main/audiohandlers/RobertifyAudioManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,7 @@ object RobertifyAudioManager {
}
}

if (channel.type == ChannelType.STAGE) {
guild.jda.directAudioController.connect(channel)
} else musicManager.link.connect(channel.id)

guild.jda.directAudioController.connect(channel)
musicManager.scheduler.scheduleDisconnect()
return true
}
Expand Down

0 comments on commit bbd8daa

Please sign in to comment.