diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx index e12781f91..a38b6aafd 100644 --- a/src/plugins/showMeYourName/index.tsx +++ b/src/plugins/showMeYourName/index.tsx @@ -65,17 +65,21 @@ 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") - return <>{prefix}{username} {nick}; + if (Vencord.Webpack.findStore("StreamerModeStore").enabled) { + return <>{prefix}{nick} {username[0]}...; + } else { + return <>{prefix}{username} {nick}; + } if (settings.store.mode === "nick-user") - return <>{prefix}{nick} {username}; + if (Vencord.Webpack.findStore("StreamerModeStore").enabled) { + return <>{prefix}{nick} {username[0]}...; + } else { + return <>{prefix}{nick} {username}; + } return prefix + username; } catch { return author?.nick;