Update node.js

This commit is contained in:
ZyLacx 2020-12-04 09:01:59 +01:00
parent 62a8fa2f4a
commit 2369e0e9fb

View file

@ -194,7 +194,7 @@ function sendEmbed(){
const embed = new Discord.MessageEmbed()
.addField("Čas do konca... roka: ", remainingEnd)
.addField("", "")
.addField("", "")
.addField("Čas do odovzdania dokumentácie: ", remainingDok)
.addField("", "")
.addField("Čas do maturity zo Slovenského jazyka: ", remainingSjl)
@ -207,13 +207,13 @@ function sendEmbed(){
.setColor("RANDOM");
if(petrovOdpocet - now > 0){
if(petrovOdpocet - now < 0){
embed.spliceFields(8);
}
if (martinovOdpocet - now > 0) {
if (martinovOdpocet - now < 0) {
embed.spliceFields(6, 3);
}
if(remainingEnd - now > 0){
if(endOdpocet - now < 0){
embed.spliceFields(0, 2);
}