From d8354ea1656866b18847cb20b8b39d14f3b78727 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 26 Jan 2025 21:32:23 -0700 Subject: [PATCH] No Join Message Wave --- src/noJoinMessageWave/index.ts | 11 +++++++++++ src/noJoinMessageWave/manifest.json | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/noJoinMessageWave/index.ts create mode 100644 src/noJoinMessageWave/manifest.json diff --git a/src/noJoinMessageWave/index.ts b/src/noJoinMessageWave/index.ts new file mode 100644 index 0000000..de3c597 --- /dev/null +++ b/src/noJoinMessageWave/index.ts @@ -0,0 +1,11 @@ +import { Patch } from "@moonlight-mod/types"; + +export const patches: Patch[] = [ + { + find: '("SystemMessage").error("",', + replace: { + match: /(?<=usernameHook:\i}\)),\(0,\i.jsx\)\(\i\.\i,{channel:\i,message:\i}\)/, + replacement: "" + } + } +]; diff --git a/src/noJoinMessageWave/manifest.json b/src/noJoinMessageWave/manifest.json new file mode 100644 index 0000000..5612d30 --- /dev/null +++ b/src/noJoinMessageWave/manifest.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://moonlight-mod.github.io/manifest.schema.json", + "id": "noJoinMessageWave", + "version": "1.0.0", + "meta": { + "name": "No Join Message Wave", + "tagline": "Hides the wave button on join messages, regardless of the guild setting", + "authors": ["Cynosphere"], + "tags": ["qol", "chat"], + "source": "https://github.com/Cynosphere/moonlight-extensions", + "donate": "https://ko-fi.com/Cynosphere" + }, + "apiLevel": 2 +}