From 399734a991f09b944ffd743e861b148aea5497d4 Mon Sep 17 00:00:00 2001 From: Canule Date: Tue, 30 Aug 2016 05:57:11 +0200 Subject: [PATCH] [Audio] Fixed slash character causing issues (#345) Example: [p]play back in Black AC/DC --- cogs/audio.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/audio.py b/cogs/audio.py index cf4b74135..2ae7063b8 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -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: