VcNarrator: Fix always saying 'someone'
This commit is contained in:
parent
503d49d295
commit
99d8b8b75f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue