forked from nin0/website
Added more useless yap no one gives a fuck about
This commit is contained in:
parent
c8c150b84a
commit
67b548470f
3 changed files with 36 additions and 5 deletions
6
index.js
6
index.js
|
@ -1,6 +1,10 @@
|
|||
shouldLog = false;
|
||||
function log(content) {
|
||||
if (shouldLog) console.log(content);
|
||||
}
|
||||
function onUpdate(data) {
|
||||
console.log(data)
|
||||
// set status
|
||||
log(data)
|
||||
const pfp = document.getElementById("pfp");
|
||||
switch(data["discord_status"]) {
|
||||
case "online":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue