We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a23c8d7 commit 406771aCopy full SHA for 406771a
1 file changed
src/commands/status.js
@@ -36,11 +36,13 @@ class UserCommand extends Command {
36
);
37
console.log(lock.users.length);
38
if (lock.users.length === 0) {
39
+ var d = new Date();
40
+ d.setUTCHours(23, 55, 0, 0);
41
embed = new EmbedBuilder()
42
.setTitle(
43
"The Creative Server is currently unlocked and is due to be overwritten at",
44
)
- .setDescription(`<t:${Math.floor(lock.next_update / 1000)}:f>`)
45
+ .setDescription(`<t:${Math.floor(d.getTime() / 1000)}:f>`)
46
.setColor("#FF91AF");
47
} else {
48
0 commit comments