remove certain symbols that break song lookups
This commit is contained in:
parent
cc470c86db
commit
62c9c764d6
|
@ -348,6 +348,8 @@ class Music:
|
|||
if not await ctx.invoke(self.join):
|
||||
return
|
||||
|
||||
song = re.sub('[<>\[\]]', '', song)
|
||||
|
||||
try:
|
||||
entry = await self.add_entry(song, ctx)
|
||||
except asyncio.TimeoutError:
|
||||
|
|
Loading…
Reference in a new issue