aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common.tsx
diff options
context:
space:
mode:
authorActuallyTheSun <78964224+ActuallyTheSun@users.noreply.github.com>2022-12-15 00:44:58 +0200
committerGitHub <noreply@github.com>2022-12-14 23:44:58 +0100
commitc8f214111434e20a2a1610fdc1d6cc1276dbbce9 (patch)
tree57afbb96e8b2b5db0f2e15e4f1e3a8afa18f5d48 /src/webpack/common.tsx
parentfea8c60a4091e10123e15b5c403f0e3f4e15c9c8 (diff)
downloadVencord-c8f214111434e20a2a1610fdc1d6cc1276dbbce9.tar.gz
Vencord-c8f214111434e20a2a1610fdc1d6cc1276dbbce9.tar.bz2
Vencord-c8f214111434e20a2a1610fdc1d6cc1276dbbce9.zip
feat(plugin): add MessageLinkEmbeds (#264)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/webpack/common.tsx')
-rw-r--r--src/webpack/common.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx
index 2ee2d5d..81bea31 100644
--- a/src/webpack/common.tsx
+++ b/src/webpack/common.tsx
@@ -52,6 +52,7 @@ export let UserStore: Stores.UserStore;
export let SelectedChannelStore: Stores.SelectedChannelStore;
export let SelectedGuildStore: any;
export let ChannelStore: Stores.ChannelStore;
+export let GuildMemberStore: Stores.GuildMemberStore;
export let RelationshipStore: Stores.RelationshipStore & {
/** Get the date (as a string) that the relationship was created */
getSince(userId: string): string;
@@ -163,6 +164,7 @@ waitFor("getSortedPrivateChannels", m => ChannelStore = m);
waitFor("getCurrentlySelectedChannelId", m => SelectedChannelStore = m);
waitFor("getLastSelectedGuildId", m => SelectedGuildStore = m);
waitFor("getGuildCount", m => GuildStore = m);
+waitFor(["getMember", "initialize"], m => GuildMemberStore = m);
waitFor("getRelationshipType", m => RelationshipStore = m);
waitFor(["Hovers", "Looks", "Sizes"], m => Button = m);