Timezones inaccurate
Hello! While designing a test bot from official discord.js guide and not changing a code I used /user which gives information about the user and the first attachment was the result but after some time with no changes made to the code the bot replies with a time calculated for the timezone GMT+0000 as in 2nd attachment, Why?
8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!show your code
Sure, just a second!
This is the exact same code as in discord.js guide for getting started, I would like to know why now it shows timezone GMT+0000 for every user that uses the slash command
It will show the time calculated by the timezone of the hoster?
In the first attachment, I was hosting the bot from vs code and in 2nd one it's hosted on a server
Is there any way of showing the timezone of the user who used the command?
use epoc timestamps
I also do know the timezones of other users since this is the bot for a private server of friends but first I'll check the guide out
Thanks!