diff --git a/src/plugins/showMeYourName/index.tsx b/src/plugins/showMeYourName/index.tsx
index a38b6aafd..a70b26224 100644
--- a/src/plugins/showMeYourName/index.tsx
+++ b/src/plugins/showMeYourName/index.tsx
@@ -19,6 +19,9 @@ interface UsernameProps {
userOverride?: User;
}
+if (Vencord.Webpack.findStoreLazy("StreamerModeStore").enabled) {
+ var Streamer = new Boolean(true);
+}
const settings = definePluginSettings({
mode: {
type: OptionType.SELECT,
@@ -65,17 +68,16 @@ export default definePlugin({
const { nick } = author;
const prefix = withMentionPrefix ? "@" : "";
-
if (username === nick || isRepliedMessage && !settings.store.inReplies)
return prefix + nick;
if (settings.store.mode === "user-nick")
- if (Vencord.Webpack.findStore("StreamerModeStore").enabled) {
+ if (Streamer) {
return <>{prefix}{nick} {username[0]}...>;
} else {
return <>{prefix}{username} {nick}>;
}
if (settings.store.mode === "nick-user")
- if (Vencord.Webpack.findStore("StreamerModeStore").enabled) {
+ if (Streamer) {
return <>{prefix}{nick} {username[0]}...>;
} else {
return <>{prefix}{nick} {username}>;