Time not processing

Hi, can someone help me with a bug in the code? If I put 2m or 2d or 2w the bot takes all of them as 2s.
9 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
NP
NPOP2y ago
sexy dark chocolate
You sure this djs related? Show the code in a bin
d.js docs
d.js docs2y ago
To share long code snippets use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks.
NP
NPOP2y ago
https://sourceb.in/bxfMq6vZSF Please help, I am really not sure hwat the bug is
sexy dark chocolate
I'm seeing ms, is this issue related to ms? If so, #other-js-ts and if not then let me know which line errors
NP
NPOP2y ago
No like errors, it just doesn't process it properly. It used to process it just fine.
sexy dark chocolate
Which line is that?
NP
NPOP2y ago
Sorry, there's no errors in the bot. It just doesn't operate as it used to. hmm
Want results from more Discord servers?
Add your server