Some bug fixes

This commit is contained in:
Draper
2019-12-18 14:49:57 +00:00
parent c59a8c853d
commit 6b2114406a
2 changed files with 77 additions and 99 deletions

View File

@@ -274,7 +274,7 @@ class Audio(commands.Cog):
).clear_raw("playlists")
if from_version < 3 <= to_version:
for scope in PlaylistScope.list():
scope_playlist = await get_all_playlist_for_migration23(scope)
scope_playlist = await get_all_playlist_for_migration23(scope, self.bot)
for p in scope_playlist:
await p.save()
await self.config.custom(scope).clear()