mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Updated StringToHex -> RandomHex
This commit is contained in:
@@ -1312,7 +1312,7 @@ async function YouTubeMessage(data) {
|
||||
if (showUsername) {
|
||||
usernameDiv.innerText = data.user.name;
|
||||
if (randomYouTubeColors)
|
||||
usernameDiv.style.color = StringToHex(data.user.name);
|
||||
usernameDiv.style.color = RandomHex(data.user.name);
|
||||
else
|
||||
usernameDiv.style.color = youtubeColor; // YouTube users do not have colors, so just set it to red
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user