Change string concats to template literals

This commit is contained in:
Sam Schloegel
2022-01-03 14:31:13 -05:00
parent c5691b56c9
commit aec191e178
11 changed files with 47 additions and 80 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ exports.data = function (device, message) {
var i = 0;
while (arr[i][arr[i].length - 1] != '"') {
i++;
device.data.showName += arr[i] + ' ';
device.data.showName += `${arr[i]} `;
}
device.data.showName = device.data.showName.substring(
1,