diff --git a/index.tsx b/index.tsx index 11ef42e..bbd8e45 100644 --- a/index.tsx +++ b/index.tsx @@ -11,7 +11,7 @@ import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; import { findComponentByCodeLazy } from "@webpack"; import { ChannelStore, DateUtils, GuildStore, IconUtils, NavigationRouter, Popout, SnowflakeUtils, Text, UserStore, useStateFromStores } from "@webpack/common"; -import { Channel, Guild } from "discord-types/general"; +import { Guild } from "discord-types/general"; const ServerProfileComponent = findComponentByCodeLazy("{guildProfile:v,fetchGuildProfile:O,fetchStatus:I}"); const cl = classNameFactory("vc-serverprofileforward-"); @@ -23,7 +23,6 @@ const checkForIconExistence = (guild: Guild) => { if (!guild.icon) return false; return true; }; -const isDM = (channel: Channel) => channel.flags === 1; export default definePlugin({ name: "MoreForwardMeta",