From 1abfd51d9a2fe0a2e8532fc0f8aef988955cd740 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 7 Mar 2026 10:20:22 -0600 Subject: [PATCH] undo weird change --- src/webpage/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webpage/index.ts b/src/webpage/index.ts index 66fbfec..d2d6f03 100644 --- a/src/webpage/index.ts +++ b/src/webpage/index.ts @@ -116,7 +116,7 @@ if (window.location.pathname.startsWith("/channels")) { }, { visible: function () { - return thisUser.channelfocus?.guild.member.hasPermission("MANAGE_CHANNELS") || false; + return thisUser.lookingguild?.member.hasPermission("MANAGE_CHANNELS") || false; }, }, ); @@ -130,7 +130,7 @@ if (window.location.pathname.startsWith("/channels")) { }, { visible: function () { - return thisUser.channelfocus?.guild.member.hasPermission("MANAGE_CHANNELS") || false; + return thisUser.lookingguild?.member.hasPermission("MANAGE_CHANNELS") || false; }, }, );