mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[V3 Audio] Fix for not saving via playlist create (#1889)
This commit is contained in:
parent
1f1a85de18
commit
3ece3a1f2b
@ -709,7 +709,8 @@ class Audio:
|
|||||||
ctx, "Playlist name already exists, try again with a different name."
|
ctx, "Playlist name already exists, try again with a different name."
|
||||||
)
|
)
|
||||||
playlist_list = self._to_json(ctx, None, None)
|
playlist_list = self._to_json(ctx, None, None)
|
||||||
playlists[playlist_name] = playlist_list
|
async with self.config.guild(ctx.guild).playlists() as playlists:
|
||||||
|
playlists[playlist_name] = playlist_list
|
||||||
await self._embed_msg(ctx, "Empty playlist {} created.".format(playlist_name))
|
await self._embed_msg(ctx, "Empty playlist {} created.".format(playlist_name))
|
||||||
|
|
||||||
@playlist.command(name="delete")
|
@playlist.command(name="delete")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user