Add ImgToGif To Readme

This commit is contained in:
thororen 2024-12-06 12:17:54 -05:00
parent bb34833b3c
commit e2f87e9cfe
2 changed files with 5 additions and 2 deletions

View file

@ -17,6 +17,7 @@
*/
import { ApplicationCommandInputType, ApplicationCommandOptionType, Argument, CommandContext, sendBotMessage } from "@api/Commands";
import { migratePluginSettings } from "@api/Settings";
import { EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
import { findByPropsLazy } from "@webpack";
@ -74,8 +75,9 @@ async function resolveImage(options: Argument[], ctx: CommandContext): Promise<{
return { image, width, height };
}
migratePluginSettings("ImgToGif", "imgtogif");
export default definePlugin({
name: "imgtogif",
name: "ImgToGif",
description: "Adds a /imgtogif slash command to create a gif from any image",
authors: [EquicordDevs.zyqunix],
commands: [