fix use of single quote

Slash-V14
Supositware 3 weeks ago
parent d604f0ad8e
commit 4f84a09a7e

@ -30,7 +30,7 @@ export default {
data: ${JSON.stringify(client.commands.get(args.commandname).data)}, data: ${JSON.stringify(client.commands.get(args.commandname).data)},
category: '${client.commands.get(args.commandname).category}', category: '${client.commands.get(args.commandname).category}',
async execute(interaction) { async execute(interaction) {
return interaction.reply('${args.placeholder}'); return interaction.reply('${args.placeholder.replace(/'/g, '\\\'')}');
}, },
}; };

Loading…
Cancel
Save