mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
playing playing games
This commit is contained in:
@@ -9,7 +9,6 @@ module.exports = {
|
|||||||
client.user.setStatus('idle')
|
client.user.setStatus('idle')
|
||||||
setInterval(on15Update, 900000)
|
setInterval(on15Update, 900000)
|
||||||
|
|
||||||
|
|
||||||
function on15Update() {
|
function on15Update() {
|
||||||
var currentUpdate = Math.round((moment().day() * 24 * 60 + (moment().hour() * 60) + moment().minute()) / 15)
|
var currentUpdate = Math.round((moment().day() * 24 * 60 + (moment().hour() * 60) + moment().minute()) / 15)
|
||||||
fs.readFile("workweek.json", "utf8", function (err, data) {
|
fs.readFile("workweek.json", "utf8", function (err, data) {
|
||||||
@@ -17,6 +16,7 @@ module.exports = {
|
|||||||
client.user.setActivity(workweek.workweek[currentUpdate], { type: 'PLAYING' })
|
client.user.setActivity(workweek.workweek[currentUpdate], { type: 'PLAYING' })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
on15Update()
|
on15Update()
|
||||||
|
|
||||||
client.on("message", (msg) => {
|
client.on("message", (msg) => {
|
||||||
@@ -25,7 +25,5 @@ module.exports = {
|
|||||||
|
|
||||||
setTimeout(() => { client.user.setStatus('idle') }, 60000 * 5)
|
setTimeout(() => { client.user.setStatus('idle') }, 60000 * 5)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
152
workweek.json
152
workweek.json
@@ -55,37 +55,37 @@
|
|||||||
"Lunch",
|
"Lunch",
|
||||||
"Extended Lunch",
|
"Extended Lunch",
|
||||||
"Extended Lunch",
|
"Extended Lunch",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
"Preparing to sleep",
|
"Preparing to sleep",
|
||||||
@@ -173,10 +173,10 @@
|
|||||||
"Arriving Home",
|
"Arriving Home",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
@@ -364,13 +364,13 @@
|
|||||||
"Arriving Home",
|
"Arriving Home",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
@@ -460,15 +460,15 @@
|
|||||||
"Arriving Home",
|
"Arriving Home",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
"TV",
|
"TV",
|
||||||
@@ -634,35 +634,35 @@
|
|||||||
"Browsing Reddit",
|
"Browsing Reddit",
|
||||||
"Browsing Reddit",
|
"Browsing Reddit",
|
||||||
"Browsing Reddit",
|
"Browsing Reddit",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Dinner",
|
"Dinner",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Playing Games",
|
"Games",
|
||||||
"Preparing to sleep",
|
"Preparing to sleep",
|
||||||
"Sleeping",
|
"Sleeping",
|
||||||
"Sleeping",
|
"Sleeping",
|
||||||
|
|||||||
Reference in New Issue
Block a user