diff --git a/index.tsx b/index.tsx index f34694f..d2e4d84 100644 --- a/index.tsx +++ b/index.tsx @@ -6,7 +6,6 @@ import { ApplicationCommandInputType, ApplicationCommandOptionType, Argument, CommandContext, findOption, sendBotMessage } from "@api/Commands"; import { DataStore } from "@api/index"; -import { addAccessory } from "@api/MessageAccessories"; import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; import { Parser, React, Text } from "@webpack/common"; @@ -90,9 +89,9 @@ export default definePlugin({ userFlags = new Map(savedFlags); } } - addAccessory("flag", (props: Record) => ( - - ), 4); + }, + renderMessageAccessory: (props: Record) => { + return ; }, commands: [ {