From 4f84a09a7e2175ff7ac3886795671a119fcd1a20 Mon Sep 17 00:00:00 2001 From: Supositware Date: Wed, 28 Aug 2024 00:24:16 +0200 Subject: [PATCH] fix use of single quote --- commands/owner/unload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/owner/unload.js b/commands/owner/unload.js index 760035a0..852f18ca 100644 --- a/commands/owner/unload.js +++ b/commands/owner/unload.js @@ -30,7 +30,7 @@ export default { data: ${JSON.stringify(client.commands.get(args.commandname).data)}, category: '${client.commands.get(args.commandname).category}', async execute(interaction) { - return interaction.reply('${args.placeholder}'); + return interaction.reply('${args.placeholder.replace(/'/g, '\\\'')}'); }, };