aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/forceOwnerCrown.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/forceOwnerCrown.ts')
-rw-r--r--src/plugins/forceOwnerCrown.ts5
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",