mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Small fixes
This commit is contained in:
parent
6385c3614f
commit
1e592cb795
@ -65,6 +65,7 @@ class Audio:
|
||||
self.queue = []
|
||||
self.current = -1
|
||||
self.playlist = [link]
|
||||
self.music_player.stop()
|
||||
else:
|
||||
self.playlist = []
|
||||
self.current = -1
|
||||
@ -77,7 +78,7 @@ class Audio:
|
||||
async def song(self):
|
||||
"""Shows song title
|
||||
"""
|
||||
if self.downloader["TITLE"]:
|
||||
if self.downloader["TITLE"] and "localtracks" not in self.downloader["TITLE"]:
|
||||
url = ""
|
||||
if self.downloader["URL"]: url = 'Link : "' + self.downloader["URL"] + '"'
|
||||
await self.bot.say(self.downloader["TITLE"] + "\n" + url)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user