possumbot/commands/catgpt.js
2024-08-21 15:00:40 +00:00

41 lines
604 B
JavaScript

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
}