forked from Supositware/Haha-Yes
fix use of single quote
This commit is contained in:
parent
d604f0ad8e
commit
4f84a09a7e
1 changed files with 1 additions and 1 deletions
|
@ -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, '\\\'')}');
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue