diff --git a/index.tsx b/index.tsx index 37c0b37..a086686 100644 --- a/index.tsx +++ b/index.tsx @@ -12,8 +12,8 @@ import { InfoIcon } from "@components/Icons"; import { Devs } from "@utils/constants"; import { getCurrentChannel, getCurrentGuild } from "@utils/discord"; import definePlugin from "@utils/types"; -import { Forms, GuildMemberStore, GuildStore, Menu, Parser } from "@webpack/common"; -import { GuildMember } from "discord-types/general"; +import { Forms, GuildMemberStore, GuildRoleStore, Menu, Parser } from "@webpack/common"; +import { GuildMember } from "@vencord/discord-types"; import { showInRoleModal } from "./RoleMembersModal"; @@ -82,7 +82,7 @@ export default definePlugin({ const channel = getCurrentChannel(); if (!channel) return; - const role = GuildStore.getRole(guild.id, id); + const role = GuildRoleStore.getRole(guild.id, id); if (!role) return; children.push(