possumbot/commands/catgpt.js

42 lines
604 B
JavaScript
Raw Normal View History

2024-08-21 17:00:40 +02:00
var meows = [
"mreow",
"miau",
"mewo",
"maow",
"mrow",
"mrao",
"meow",
"mew",
"nya",
];
var emoticons = [
":3",
"^w^",
"=^w^=",
"-w-",
":333"
];
async function execute(client, event) {
var reply = "";
for(let i = 0;i < Math.random() * 15; i++)
reply += " " + meows.random();
reply += "!".repeat(Math.random() * 5);
if(Math.random() > 0.5) {
reply += " " + emoticons.random();
}
await client.reply(event, reply);
}
export default {
command: "catgpt",
name: "catgpt",
usage: "[prompt]",
desc: "advanced NAI-based language meowdel",
execute
}