• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Node.JS Leaderboard discord command

Coreigh

New Coder
Im new to coding and have no idea what im doing, if someone could help me make a discord leaderboard command, i would be very grateful, i searched for solutions and copied tutorials, however it didnt seem to work, im trying to make a leaderboard from a json file (example:
lets say this is server id:
"38457438574284572": {
lets say this is user id:
"32942498327482974": {
"xp": 44,
"level": 0,
"last_message": 1728612834
},
then it will continue to with another one for another user id and so on,
if someone could help me with this, if you need more information, like the index code, please let me know.

Thanks
 

Top