Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
340c91040d
@ -24,7 +24,9 @@ module.exports = {
|
|||||||
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
||||||
inputString = messagefromId.content;
|
inputString = messagefromId.content;
|
||||||
}
|
}
|
||||||
|
if (inputString.length > 1000) {
|
||||||
|
inputString = inputString.length + "characters long";
|
||||||
|
}
|
||||||
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");
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user