It was created to make writing Discord bots faster and more convenient.
MIT License
🛠️ It was created to make writing Discord bots faster and more convenient.
const { trim, findAndGetEmojis, captalize } = require("utilscord");
/* import { trim, findAndGetEmojis, captalize } from "utilscord"; */
const message = "This module is very nice.";
const abbreviatedMessage = trim(message, 10);
console.log(abbreviatedMessage); // Output --> "This mo..."
const updateMsg = "Hello 👋, new update available today! <:update:986539100221874176>";
const emojis = findAndGetEmojis(updateMsg);
console.log(emojis) // Output --> ["👋", "<:update:986539100221874176>"]
const name = "rOmAn";
const editedName = captalize(name);
console.log(editedName) // Output --> "Roman"
More? Take a look at its documentation!
📱 If you want to reach me, you can reach me via Discord!