Counts how many letters/numbers there are! You can use it like this: count this <your word> and ofcourse replace "your word" with what you wanna count... Spaces count as a letter/number so don't include spaces!
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let word = context.params.event.content.split(' ').slice(2).join('_');
let message = context.params.event.content;
let text = `${word}`;
text.length;
if(message.startsWith(`count this`)) { // You may change this to whatever you want - but it needs to be 2 words.
await lib.discord.channels['@0.0.6'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: `There is **${text.length}** letter(s) in your word.`,
});
}