|
|
|
@ -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");
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|