Commands In Plugin Json

This commit is contained in:
thororen1234 2024-10-31 04:34:18 -04:00
parent df4d56aacf
commit 6bd3b06de5
4 changed files with 42 additions and 7 deletions

View file

@ -18,10 +18,10 @@ async function getcuteneko(): Promise<string> {
export default definePlugin({
name: "CuteNekos",
authors: [Devs.echo],
description: "Neko Command",
description: "Send Nekos to others",
commands: [{
name: "nekos",
description: "Baby don't hurt me no more",
description: "Send Neko",
execute: async opts => ({
content: await getcuteneko()
})

View file

@ -8,7 +8,6 @@ import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
async function getcutepats(): Promise<string> {
// Indi wants bad things
const res = await fetch("https://api.waifu.pics/sfw/pat");
const url = (await res.json()).url as string;
return url;
@ -19,10 +18,10 @@ async function getcutepats(): Promise<string> {
export default definePlugin({
name: "CutePats",
authors: [EquicordDevs.thororen],
description: "Pat Command",
description: "Sending Head Pats",
commands: [{
name: "pat",
description: "Baby don't hurt me no more",
description: "Sends a headpat gif",
execute: async opts => ({
content: await getcutepats()
})

View file

@ -44,7 +44,7 @@ export default definePlugin({
commands: [
{
name: "gifroulette",
description: "Time to tempt your fate",
description: "Tempt fate and send a gif",
execute: (opts, other) => ({
content: getMessage(opts, other)
}),