Similar to the owo bot, this prefix command converts your message to uwu text. Syntax: owoify <message>
//NPM package by MarsRon at https://www.npmjs.com/package/owofire
//the command prefix is owoify
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const content = context.params.event.content.split(" ").slice(1).join(" ");
const owofire = require("owofire");
const prefixes = [
'<3 ',
'0w0 ',
'H-hewwo?? ',
'HIIII! ',
'Haiiii! ',
'Huohhhh. ',
'OWO ',
'OwO ',
'UwU '
]
let prefixChoice = Math.floor(Math.random() * prefixes.length);
let prefix = prefixes[prefixChoice];
let result = owofire(`${content}`)
await lib.discord.channels['@0.1.1'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: `${prefix} ${result}`
});
//Example: owoify Hi my name is Carmen Winstead, I am 17 years old, I am very similar to you
//Result: OWO Hi my nyame is Cawmen Winstead~ I am 17 yeaws owd~ I am vewy simiwaw to u ÚwÚ