From 8edb31478e71aa7988c9147ac1503632c3024aff Mon Sep 17 00:00:00 2001 From: Rayanzay Date: Wed, 4 Jun 2025 22:16:39 +1000 Subject: [PATCH] feat: rename CuteAnimeGirls plugin to Memes and update functionality to send Reddit memes --- .../{cuteAnimeGirls => redditMemes}/index.ts | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) rename src/equicordplugins/{cuteAnimeGirls => redditMemes}/index.ts (65%) diff --git a/src/equicordplugins/cuteAnimeGirls/index.ts b/src/equicordplugins/redditMemes/index.ts similarity index 65% rename from src/equicordplugins/cuteAnimeGirls/index.ts rename to src/equicordplugins/redditMemes/index.ts index b0e4a384..4953e39f 100644 --- a/src/equicordplugins/cuteAnimeGirls/index.ts +++ b/src/equicordplugins/redditMemes/index.ts @@ -6,7 +6,6 @@ import { EquicordDevs } from "@utils/constants"; -import { ApplicationCommandOptionType } from "../../api/Commands"; import definePlugin from "../../utils/types"; function rand(min, max) { @@ -28,27 +27,19 @@ async function fetchReddit(sub: string) { } export default definePlugin({ - name: "CuteAnimeGirls", + name: "Memes", authors: [EquicordDevs.ShadyGoat], - description: "Add a command to send cute anime girls in the chat", + description: "Add a command to send Reddit memes in the chat (I know its not the best)", commands: [{ - name: "anime-girls", - description: "Send cute anime girls", - options: [ - { - name: "cat", - description: "If set, this will send exclusively cute anime cat girls", - type: ApplicationCommandOptionType.BOOLEAN, - required: false, - }, - ], + name: "memes", + description: "Send Reddit memes", async execute(args) { - let sub = "cuteanimeboys"; + let sub = "memes"; if (args.length > 0) { const v = args[0].value as any as boolean; if (v) { - sub = "animecatboys"; + sub = "memes"; } }