登录 | 注册 | FAQ
Anonymous

Help with .JSON data to HTML file!

+ 发表回复

2 篇帖子 分页: 1 / 1


Help with .JSON data to HTML file!

Kwinky Wolf » 周日 2月 18, 2018 12:11 am

Hi to whomever it may concern,

I've been developing a discord bot using discord.js and commando.js, and was given a helping hand by a mate in my quest to make an XP levelling system. I understood what he did enough to be able to made commands out of it, and with a bit more support make an automatic XP system. But, now, I want to add a leaderboard and link it to a website. I have no clue as to how i'm going to achieve this at all, whatsoever. I don't understand a thing that he has made, but it works. If somebody could talk to me like i'm 5 and explain in detail how I would get the data from the xp.json file and into a .htm file so I can make a leaderboard out of it? I'm a visual learner and very slow due to exhaustion, so like I said... Talk to me like i'm 5, ideally examples or something haha. I'll include the following files below, thank you for reading:

- xp.json (Client ID's and then the amount of XP they have earnt).
- xp.js (the script that my mate made)

xp.json - https://drive.google.com/file/d/1rpmjyD5FxXLizX3dOR-NElIDAMVms1US/view?usp=sharing

附件

  1. xp.js (852 Bytes) 被下载 643 次
    Here's the XP file my mate made.

头像

Kwinky Wolf

  • 帖子: 2
  • 注册: 周日 2月 18, 2018 12:03 am

Re: Help with .JSON data to HTML file!

Kwinky Wolf » 周一 2月 19, 2018 3:09 pm

Bump! Sorry, but I need an answer soon :(
头像

Kwinky Wolf

  • 帖子: 2
  • 注册: 周日 2月 18, 2018 12:03 am


+ 发表回复

分页: 1 / 1