Skip to content

Commit e5c10a7

Browse files
Update list.js
1 parent 06bdb2c commit e5c10a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
fetch('https://api.hypixel.net/gameCounts?key=${hypixel}')
99
.then(result => result.json())
1010
.then(({ games }) => {
11-
const obj = JSON.stringify(games);
11+
const obj = JSON.parse(games);
1212
const listArr = data.map(obj => obj.games)
1313
message.channel.send(listArr);
1414

0 commit comments

Comments
 (0)