mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 20:28:55 -05:00
!song fix
This commit is contained in:
parent
0bc7b41d8c
commit
55531ad894
@ -1359,9 +1359,8 @@ class Audio:
|
|||||||
song = self.queue[server.id]["NOW_PLAYING"]
|
song = self.queue[server.id]["NOW_PLAYING"]
|
||||||
if song:
|
if song:
|
||||||
msg = ("\n**Title:** {}\n**Author:** {}\n**Uploader:** {}\n"
|
msg = ("\n**Title:** {}\n**Author:** {}\n**Uploader:** {}\n"
|
||||||
"**Views:** {}\n\n<{}>".format(
|
"**Views:** {}\n\n<{}>".format(song.title, song.creator,
|
||||||
song.title, song.creator, song.view_count,
|
song.uploader, song.view_count, song.webpage_url))
|
||||||
song.webpage_url))
|
|
||||||
await self.bot.say(msg.replace("**Author:** None\n", ""))
|
await self.bot.say(msg.replace("**Author:** None\n", ""))
|
||||||
else:
|
else:
|
||||||
await self.bot.say("I don't know what this song is either.")
|
await self.bot.say("I don't know what this song is either.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user