diff options
author | Nico <nico@d3sox.me> | 2023-01-13 23:18:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 23:18:12 +0100 |
commit | 32cdb6388527c109945c69b4c9edff42033e8a93 (patch) | |
tree | 0b8db77fa310ace3dbfd76f132c9ce5fde626009 /src/plugins/forceOwnerCrown.ts | |
parent | ea748dfb605386b80a4919183ad6fa9249a82e21 (diff) | |
download | Vencord-32cdb6388527c109945c69b4c9edff42033e8a93.tar.gz Vencord-32cdb6388527c109945c69b4c9edff42033e8a93.tar.bz2 Vencord-32cdb6388527c109945c69b4c9edff42033e8a93.zip |
fix(vcDoubleClick): fix functionality (#410)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/forceOwnerCrown.ts')
-rw-r--r-- | src/plugins/forceOwnerCrown.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/forceOwnerCrown.ts b/src/plugins/forceOwnerCrown.ts index 9345ea7..0c1df47 100644 --- a/src/plugins/forceOwnerCrown.ts +++ b/src/plugins/forceOwnerCrown.ts @@ -18,10 +18,7 @@ import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; -import { waitFor } from "@webpack"; - -let GuildStore; -waitFor(["getGuild"], m => GuildStore = m); +import { GuildStore } from "@webpack/common"; export default definePlugin({ name: "ForceOwnerCrown", |