diff --git a/package.json b/package.json index b59fbafe7..b22b21787 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,13 @@ "resolve-url": "*", "source-map-url": "*", "urix": "*" + }, + "overrides": { + "jszip@<3.8.0": ">=3.8.0", + "decode-uri-component@<0.2.1": ">=0.2.1", + "postcss@<8.4.31": ">=8.4.31", + "semver@<5.7.2": ">=5.7.2", + "semver@>=7.0.0 <7.5.2": ">=7.5.2" } }, "webExt": { diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx index 62d0645d2..e12781f91 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -65,6 +65,11 @@ export default definePlugin({ const { nick } = author; const prefix = withMentionPrefix ? "@" : ""; + if (Vencord.Webpack.findStore("StreamerModeStore").enabled) { + console.log("test"); + return <>{prefix}{nick} {username[0]}...; + } + if (username === nick || isRepliedMessage && !settings.store.inReplies) return prefix + nick; if (settings.store.mode === "user-nick")