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