mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Audio] Fixed slash character causing issues (#345)
Example: [p]play back in Black AC/DC
This commit is contained in:
parent
b4aacd28e7
commit
399734a991
@ -1274,6 +1274,7 @@ class Audio:
|
||||
await self.bot.say("That's not a valid URL.")
|
||||
return
|
||||
else:
|
||||
url = url.replace("/", "/")
|
||||
url = "[SEARCH:]" + url
|
||||
|
||||
if "[SEARCH:]" not in url and "youtube" in url:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user