Skip to content

Commit

Permalink
Merge pull request #229 from IgKniteDev/develop
Browse files Browse the repository at this point in the history
🔨 [tuning] Voice alerts have been removed
  • Loading branch information
hitblast authored Jun 10, 2023
2 parents 58a52c6 + e062b51 commit 59be9e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cogs/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ async def on_voice_state_update(
and state.is_playing
):
state.voice.pause()
await member.send('Playback has been paused since nobody\'s in the voice channel.')

elif (
not before.channel
Expand All @@ -533,7 +532,6 @@ async def on_voice_state_update(
and state.voice.is_paused()
):
state.voice.resume()
await member.send('Playback from a previous listening session has been resumed.')

else:
if not member.voice:
Expand Down

0 comments on commit 59be9e8

Please sign in to comment.