Add countChars function

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 16:18:28 +07:00
parent 38cd5e8b02
commit 32f84f6e08
1 changed files with 1 additions and 1 deletions

@ -11,7 +11,7 @@ module.exports = {
), ),
async execute(interaction) { async execute(interaction) {
var inputString = interaction.options.getString('string'); var inputString = interaction.options.getString('string');
await interaction.reply("Input: `" inputString + "`\n" + "Output: " + codeBlock("", countChars(inputString))); await interaction.reply("Input: `" + inputString + "`\n" + "Output: " + codeBlock("", countChars(inputString)));
console.log("User " + interaction.user.tag + " ran /count_chars"); console.log("User " + interaction.user.tag + " ran /count_chars");
}, },
}; };