From dfa06162718211bf80c26aa9de7640452d394573 Mon Sep 17 00:00:00 2001 From: Choco <94597336+ChocoMeow@users.noreply.github.com> Date: Tue, 6 Jan 2026 10:56:11 +0800 Subject: [PATCH] Fix playlist creation message key Corrects the localization key from 'playlist.actions.create' to 'playlist.actions.created' when sending a message after playlist creation. --- cogs/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/playlist.py b/cogs/playlist.py index d0d8f20..4ad9614 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -391,7 +391,7 @@ class Playlists(commands.Cog, name="playlist"): data = {'uri': link, 'perms': {'read': []}, 'name': name, 'type': 'link'} if link else {'tracks': [], 'perms': {'read': [], 'write': [], 'remove': []}, 'name': name, 'type': 'playlist'} await MongoDBHandler.update_user(ctx.author.id, {"$set": {f"playlist.{assign_playlist_id([data for data in user])}": data}}) - await send_localized_message(ctx, "playlist.actions.create", name) + await send_localized_message(ctx, "playlist.actions.created", name) @playlist.command(name="delete", aliases=get_aliases("delete")) @app_commands.describe(name="The name of the playlist.")