mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 23:37:47 +00:00
New embed with queue and image
This commit is contained in:
@@ -6,6 +6,7 @@ from discord import Interaction
|
||||
from bot import config
|
||||
from cogs.music import helper
|
||||
from utils.embed import create_embed
|
||||
from cogs.music import track_embed
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from bot import TuneBot
|
||||
@@ -84,8 +85,9 @@ class MusicCommands(app_commands.Group):
|
||||
await ctx.response.send_message(embed=embed)
|
||||
return
|
||||
|
||||
embed = helper.create_track_embed(player.current)
|
||||
await ctx.response.send_message(embed=embed)
|
||||
controls = track_embed.create_embed_controls(self.bot)
|
||||
embed = track_embed.create_track_embed(player.current, player.queue, [])
|
||||
await ctx.response.send_message(embed=embed, view=controls)
|
||||
|
||||
@app_commands.command(name="queue", description="See what's ahead")
|
||||
async def queue(self, ctx: Interaction):
|
||||
|
||||
Reference in New Issue
Block a user