We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06bdb2c commit e5c10a7Copy full SHA for e5c10a7
commands/list.js
@@ -8,7 +8,7 @@ module.exports = {
8
fetch('https://api.hypixel.net/gameCounts?key=${hypixel}')
9
.then(result => result.json())
10
.then(({ games }) => {
11
- const obj = JSON.stringify(games);
+ const obj = JSON.parse(games);
12
const listArr = data.map(obj => obj.games)
13
message.channel.send(listArr);
14
0 commit comments