fix(audio/queue): check for uploader name
This commit is contained in:
@@ -55,10 +55,16 @@ class Song:
|
||||
)
|
||||
|
||||
if self.player.uploader_url:
|
||||
if self.player.uploader:
|
||||
embed.add_field(
|
||||
name="Uploader",
|
||||
value=f"[{self.player.uploader}]({self.player.uploader_url})",
|
||||
)
|
||||
else:
|
||||
embed.add_field(
|
||||
name="Uploader",
|
||||
value=self.player.uploader_url,
|
||||
)
|
||||
elif self.player.uploader:
|
||||
embed.add_field(
|
||||
name="Uploader",
|
||||
|
Reference in New Issue
Block a user