aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common/utils.ts
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-05-14 21:33:04 -0300
committerGitHub <noreply@github.com>2023-05-15 02:33:04 +0200
commit64b38348d43040aba9823003b28acbb906e8a7d7 (patch)
tree0b9a0cce4782a4bfeb474ef716b6050dc47c4fcf /src/webpack/common/utils.ts
parent9c1b3a9afd515ea7c38d9c4b4302a60b8d9858ff (diff)
downloadVencord-64b38348d43040aba9823003b28acbb906e8a7d7.tar.gz
Vencord-64b38348d43040aba9823003b28acbb906e8a7d7.tar.bz2
Vencord-64b38348d43040aba9823003b28acbb906e8a7d7.zip
feat(plugins): Permissions Viewer (#477)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/webpack/common/utils.ts')
-rw-r--r--src/webpack/common/utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webpack/common/utils.ts b/src/webpack/common/utils.ts
index 3893a3a..629d052 100644
--- a/src/webpack/common/utils.ts
+++ b/src/webpack/common/utils.ts
@@ -114,3 +114,5 @@ waitFor("parseTopic", m => Parser = m);
export let SettingsRouter: any;
waitFor(["open", "saveAccountChanges"], m => SettingsRouter = m);
+
+export const PermissionsBits: t.PermissionsBits = findLazy(m => typeof m.ADMINISTRATOR === "bigint");