stuff uwu

This commit is contained in:
Alex / Awex
2021-08-29 12:41:44 -04:00
parent ee16a1558d
commit 4b8eda0483
9 changed files with 97 additions and 1990 deletions
+18
View File
@@ -0,0 +1,18 @@
var socket = io();
socket.on('event', function(msg) {
var audio = document.getElementById('audio');
// Play the Medal intro audio & gif
setTimeout(function() {
document.getElementById(`container`).style.display = `block`;
text.innerText = `CloakyBrokey was followed by ${msg} on Medal.tv!`
console.log(`User that followed:`, msg)
audio.play();
}, 1000);
setTimeout(function() {
document.getElementById(`container`).style.display = `none`;
audio.pause();
}, 9000)
});