Skip to content

Commit

Permalink
Remove song playing check for volume command
Browse files Browse the repository at this point in the history
  • Loading branch information
bombies committed Oct 7, 2023
1 parent bbd8daa commit 6d2858a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class VolumeCommand : AbstractSlashCommand(
volume: Int
): MessageEmbed {
val guild = selfVoiceState.guild
val acChecks = audioChannelChecks(memberVoiceState, selfVoiceState, songMustBePlaying = true)
val acChecks = audioChannelChecks(memberVoiceState, selfVoiceState)
if (acChecks.isNotNull()) return acChecks!!

if (volume < 0 || volume > 200)
Expand Down
2 changes: 0 additions & 2 deletions src/main/kotlin/main/main/Robertify.kt
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,6 @@ object Robertify {
loadNeededSlashCommands(guild)
rescheduleUnbans(guild)
RemindersConfig(guild).scheduleReminders()
logger.info("${guild.name} is ready!")

// GuildResumeManager(guild).loadTracks()
}

Expand Down

0 comments on commit 6d2858a

Please sign in to comment.