Questify & SilentTyping: Fixes. (#1271)

* Fixes.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
Etorix 2026-07-21 17:07:24 -07:00 • committed by GitHub
parent 6e104de4fa
commit 4653c35fd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,7 @@ import { decimalToRGB, formatLowerBadge, isDarkish, leftClick, middleClick, q, Q
import { openQuestifySettingsModal } from "./settingsModal";
const GuildlessServerListItemComponent = findComponentByCodeLazy("tooltip:", "lowerBadgeSize:");
const ServerListItemPillComponent = findComponentByCodeLazy('"pill":"empty"');
const ServerListItemPillComponent = findComponentByCodeLazy("=!1,hovered:", "=!1,unread:", "=!1,disabled:");
const ServerListItemLowerBadgeComponent = findComponentByCodeLazy("BADGE_NOTIFICATION_BACKGROUND", "let{count:");
interface QuestButtonLowerBadgeProps {

View file

@ -202,7 +202,7 @@ export default definePlugin({
predicate: () => getQuestifySettings().disableQuestsEverything,
replacement: [
{
match: /(?<="family-center"\).{0,15}:null,)/,
match: /(?<="family-center"\)(?:&&undefined)?:null,)/,
replace: "null&&"
}
]

View file

@ -88,7 +88,6 @@ const settings = definePluginSettings({
}
});
export function buildExtraRoleContextMenuItems(role: Role, guild: Guild, popoutRef?: React.RefObject<any>) {
if (!role) return { before: [], after: [] };