Add countChars function

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 16:15:22 -05:00
parent 0fbcc806fd
commit 2a7e808b29

View File

@ -11,7 +11,7 @@ module.exports = {
),
async execute(interaction) {
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");
},
};