diff options
author | V <vendicated@riseup.net> | 2023-05-31 02:35:54 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-05-31 19:14:14 +0200 |
commit | 99d8b8b75f828b93181ff28ef66bdc52e952d5fb (patch) | |
tree | e4d3e119cde8aa77479240c78b43bebbaa53e4dc /src/plugins/vcNarrator.tsx | |
parent | 503d49d295f1e1bfbcdd890e1abc345f326bf95c (diff) | |
download | Vencord-99d8b8b75f828b93181ff28ef66bdc52e952d5fb.tar.gz Vencord-99d8b8b75f828b93181ff28ef66bdc52e952d5fb.tar.bz2 Vencord-99d8b8b75f828b93181ff28ef66bdc52e952d5fb.zip |
VcNarrator: Fix always saying 'someone'
Diffstat (limited to 'src/plugins/vcNarrator.tsx')
-rw-r--r-- | src/plugins/vcNarrator.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx index caca70d..62a6b43 100644 --- a/src/plugins/vcNarrator.tsx +++ b/src/plugins/vcNarrator.tsx @@ -71,7 +71,7 @@ function clean(str: string) { function formatText(str: string, user: string, channel: string) { return str - .replaceAll("{{USER}}", clean(user) || user ? "Someone" : "") + .replaceAll("{{USER}}", clean(user) || (user ? "Someone" : "")) .replaceAll("{{CHANNEL}}", clean(channel) || "channel"); } |