diff --git a/app/panel/inspect/account/[id]/page.tsx b/app/panel/inspect/account/[id]/page.tsx
index 0d9e8c3..8da0305 100644
--- a/app/panel/inspect/account/[id]/page.tsx
+++ b/app/panel/inspect/account/[id]/page.tsx
@@ -24,6 +24,7 @@ import { User } from "revolt-api";
import { decodeTime } from "ulid";
import relativeTime from "dayjs/plugin/relativeTime";
import SafetyNotesCard from "@/components/cards/SafetyNotesCard";
+import { RestrictedUserCard } from "@/components/cards/RestrictedUserCard";
dayjs.extend(relativeTime);
@@ -41,6 +42,8 @@ export default async function User({
return (
Inspecting Account
+
+
{user &&
}
diff --git a/app/panel/inspect/user/[id]/page.tsx b/app/panel/inspect/user/[id]/page.tsx
index e0f770e..a954e17 100644
--- a/app/panel/inspect/user/[id]/page.tsx
+++ b/app/panel/inspect/user/[id]/page.tsx
@@ -30,6 +30,7 @@ import { notFound } from "next/navigation";
import { Bot } from "revolt-api";
import relativeTime from "dayjs/plugin/relativeTime";
import { decodeTime } from "ulid";
+import { RestrictedUserCard } from "@/components/cards/RestrictedUserCard";
dayjs.extend(relativeTime);
@@ -80,6 +81,7 @@ export default async function User({
Inspecting User
+
diff --git a/components/cards/RestrictedUserCard.tsx b/components/cards/RestrictedUserCard.tsx
new file mode 100644
index 0000000..4e3ef5c
--- /dev/null
+++ b/components/cards/RestrictedUserCard.tsx
@@ -0,0 +1,17 @@
+import { RESTRICT_ACCESS_LIST } from "@/lib/constants";
+import { User } from "revolt-api";
+import { Card } from "../ui/card";
+import { AlertCircle } from "lucide-react";
+
+export function RestrictedUserCard({ id }: { id: string | null | undefined }) {
+ if (!id || !RESTRICT_ACCESS_LIST.includes(id)) return null;
+
+ return (
+
+
+ Destructive actions are disabled for this user
+
+ );
+}