Skip to content

Shard Dying Over and Over Discordjs

I am trying to shard my bot in discord.js. Client.js is my bot.js file I have this code in my index.js file to shard But I keep getting this error: (node:27636) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_DIED]: Shard 0’s process exited before its Client became ready. I need some help on sha…

Problem with lightbox, on click event is not working

I have a stupid problem with jQuery.. I’m trying to make a simple lightbox and I have problems with the “close” button.. Here is what I have – a grid with some color variations. We have an image and a text for the color. When we click on it, we should see the image in a lightbox with b…

Unable to set the time to 00:00:00:00 using setHours() in Javascript

I have been trying to set time to 00:00:00:00 . But setInterval() stopped working. . Answer Instead of calling myDate.setHours(0, 0, 0, 0), you should call let myDate = new Date(0); but what you really need to do is subtract the current time from the time when the timer started. If you want to make this reusa…

array javascript loop wrong

it´s a simple question but i can´t solve. Always when i tray to do loopp in my array return index 0 llamadas its my varaible from controller, i´m working with laravel 5.6 how backend llamadas contain this: and his original content content wihtout for never i show one array for this way in push i need extract …

Kintone calendar event range display color

I am trying to customize kintone app. So far, I have only been able to use kintone.app to get record fields by codename and set text color. But that is it. I need access to the table. I want to highlight all the days within a range of an event that would last for several days. API seems to limit