diff --git a/components/Navigation.tsx b/components/Navigation.tsx index adaa5af..cd1e16e 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -67,6 +67,14 @@ export default function (props: { ); } + function isET(): boolean { + const { permissions } = props; + + if (typeof permissions === "undefined") return false; + + return Boolean([1 << 3, 1 << 4, 1 << 12].find((int) => permissions & int)); + } + return ( <> @@ -109,6 +117,13 @@ export default function (props: { Community + + Events Team + Our Team Support Community + + Events Team + Moderation