BIIIG Javascript reworking, split into multiple files

This commit is contained in:
bingus_violet 2024-09-29 17:30:06 -05:00
parent 91337ac477
commit 1733dc58f5
17 changed files with 281 additions and 388 deletions

26
static/js/constants.js Normal file
View file

@ -0,0 +1,26 @@
const discStatuses = {
"online": {
"text": "Online",
"color": "rgb(100, 255, 100)"
},
"dnd": {
"text": "DND",
"color": "rgb(255, 100, 100)"
},
"idle": {
"text": "Idle",
"color": "rgb(255, 255, 75)"
},
"offline": {
"text": "",
"color": "rgb(175, 175, 200)"
}
}
var teto = false
var date = new Date()
if (date.getDay() == 2) {
teto = true
}