[Audio] Hotfix

This commit is contained in:
Twentysix 2016-12-20 19:40:29 +01:00
parent af9b4d7cec
commit e319ea4762

View File

@ -1234,7 +1234,7 @@ class Audio:
playlists = ", ".join(self._list_local_playlists()) playlists = ", ".join(self._list_local_playlists())
if playlists: if playlists:
playlists = "Available local playlists:\n\n" + playlists playlists = "Available local playlists:\n\n" + playlists
for page in pagify(playlists): for page in pagify(playlists, delims=[" "]):
await self.bot.say(page) await self.bot.say(page)
else: else:
await self.bot.say("There are no playlists.") await self.bot.say("There are no playlists.")
@ -1441,7 +1441,7 @@ class Audio:
playlists = ", ".join(self._list_playlists(server)) playlists = ", ".join(self._list_playlists(server))
if playlists: if playlists:
playlists = "Available playlists:\n\n" + playlists playlists = "Available playlists:\n\n" + playlists
for page in pagify(playlists): for page in pagify(playlists, delims=[" "]):
await self.bot.say(page) await self.bot.say(page)
else: else:
await self.bot.say("There are no playlists.") await self.bot.say("There are no playlists.")