bundle.discord.cogs.music.embed¶
Player embed – message lifecycle and seek-bar updates.
Attributes¶
Classes¶
Manages the persistent now-playing message and seek-bar loop for one guild. |
Functions¶
|
Return 'Paused' or 'Playing' based on voice client state. |
Module Contents¶
- bundle.discord.cogs.music.embed.SEEK_UPDATE_INTERVAL = 5¶
- bundle.discord.cogs.music.embed.vc_status(vc: discord.VoiceProtocol | None) str¶
Return ‘Paused’ or ‘Playing’ based on voice client state.
- class bundle.discord.cogs.music.embed.PlayerEmbed(embeds: bundle.discord.embeds.EmbedFactory, queue: bundle.discord.cogs.music.queue.TrackQueue, player: bundle.discord.cogs.music.player.GuildPlayer, text_channel: discord.TextChannel)¶
Manages the persistent now-playing message and seek-bar loop for one guild.
- text_channel¶
- now_playing(track: bundle.youtube.track.YoutubeTrackData, status: str) discord.Embed¶