Need help for storing and access Token from data.json

i want to access token from data.json which is stored like this
{
"userID":"token",
}
{
"userID":"token",
}
token is stored for every user when author will use the cmd bot will work according to token which was set for author
10 Replies
d.js toolkit
d.js toolkit11mo 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. - Issue solved? Press the button!
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
!   MAN15H
! MAN15H11mo ago
it was d.js question i want to access them in js file
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
!   MAN15H
! MAN15H11mo ago
token != discord bot token this is api token of a website
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
!   MAN15H
! MAN15H11mo ago
not bot token
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
!   MAN15H
! MAN15H11mo ago
it's not a problem with token, i just want to access from data.json it should be anything not only token
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View