Add countChars function

master
Caleb Fontenot 2023-04-04 16:15:22 +07:00
parent 0fbcc806fd
commit 2a7e808b29
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(countChars(inputString)); await interaction.reply("Output: " + codeBlock("", countChars(inputString)));
console.log("User " + interaction.user.tag + " ran /count_chars"); console.log("User " + interaction.user.tag + " ran /count_chars");
}, },
}; };