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

Add another edge case check

This commit is contained in:
Phxntxm 2017-05-19 13:55:45 -05:00
parent 942e1b0a09
commit aebaa9b282

View file

@ -551,7 +551,7 @@ class Music:
"""Shows info about the currently played song."""
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 not state.current:
await ctx.send('Not playing anything.')
else:
# Create the embed object we'll use