new command in sys info + music.py fixes
This commit is contained in:
1 parent
fff6db930f
commit
68265f853a
2 files changed
+18
-1
No files matched your search
+5
-1
@@ -124,7 +124,7 @@ class Music(commands.Cog):
|
||||
if not vc:
|
||||
vc = await ctx.author.voice.channel.connect(cls=wavelink.Player)
|
||||
vc.autoplay = wavelink.AutoPlayMode.disabled
|
||||
vc.inactive_timeout = None
|
||||
vc.inactive_timeout = None
|
||||
|
||||
st = self.state(ctx.guild.id)
|
||||
|
||||
@@ -142,6 +142,10 @@ class Music(commands.Cog):
|
||||
t.extras = {"requester": str(ctx.author)}
|
||||
st.queue.append(t)
|
||||
|
||||
if not vc.playing and not vc.paused and st.queue:
|
||||
t.current = st.queue.popleft()
|
||||
await vc.play(st.current)
|
||||
|
||||
embed = discord.Embed(
|
||||
title="📋 Playlist Queued",
|
||||
description=f"**{results.name}**",
|
||||
|
||||
Reference in new issue
Block a user