aboutsummaryrefslogtreecommitdiff
path: root/features/streamsGUI
diff options
context:
space:
mode:
Diffstat (limited to 'features/streamsGUI')
-rw-r--r--features/streamsGUI/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/streamsGUI/index.js b/features/streamsGUI/index.js
index 2cd2a4f..aaf5ab7 100644
--- a/features/streamsGUI/index.js
+++ b/features/streamsGUI/index.js
@@ -122,7 +122,7 @@ class StreamElement extends SoopyBoxElement {
this.titleElement.setText(stream.title)
- this.channelElement.setText((twitch ? "§0"+stream.user_name : "§0"+stream.channelTitle) + (twitch?"&7 - " + stream.viewer_count + " viewers":""))
+ this.channelElement.setText((twitch ? "§0"+stream.user_name : "§0"+stream.channelTitle) + (twitch?"&7 - " + stream.viewer_count + " viewer"+(stream.viewer_count!==1?"s":""):""))
this.channelImg.setImage(twitch ? `https://static-cdn.jtvnw.net/previews-ttv/live_user_${stream.user_login}-640x360.jpg` : stream.thumbnails.high.url)