1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Added a check to ensure the song exists

This commit is contained in:
phxntxm 2017-05-16 22:47:27 -05:00
parent 8860cd90a7
commit 917ca70901

View file

@ -505,7 +505,7 @@ class Music:
"""
state = self.voice_states.get(ctx.message.guild.id)
if state is None or not state.playing:
if state is None or not state.playing or state.current is None:
await ctx.send('Not playing any music right now...')
return