Add countChars function
This commit is contained in:
parent
38cd5e8b02
commit
32f84f6e08
@ -11,7 +11,7 @@ module.exports = {
|
||||
),
|
||||
async execute(interaction) {
|
||||
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");
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user