mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Audio] Fix for using [p]now with thumbnail (#2063)
This commit is contained in:
parent
3a968d707f
commit
c2d23b37a7
@ -459,7 +459,8 @@ class Audio:
|
||||
embed = discord.Embed(
|
||||
colour=(await ctx.embed_colour()), title="Now Playing", description=song
|
||||
)
|
||||
if await self.config.guild(ctx.guild).thumbnail() and player.current.thumbnail:
|
||||
if await self.config.guild(ctx.guild).thumbnail() and player.current:
|
||||
if player.current.thumbnail:
|
||||
embed.set_thumbnail(url=player.current.thumbnail)
|
||||
message = await ctx.send(embed=embed)
|
||||
player.store("np_message", message)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user