summaryrefslogtreecommitdiff
path: root/responses.js
diff options
context:
space:
mode:
Diffstat (limited to 'responses.js')
-rw-r--r--responses.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/responses.js b/responses.js
index f4209fd..55baabb 100644
--- a/responses.js
+++ b/responses.js
@@ -370,7 +370,7 @@ async function respondMatches(msg, ign, response=undefined) {
emoji.symbols.ten
];
const data = await api.getMatches(ign),
- matches = data[0].data.slice(0, MATCH_HISTORY_LEN), // TODO
+ matches = data.data.slice(0, MATCH_HISTORY_LEN),
matches_num = matches.length;
let embed = vainsocialEmbed(ign, "player/" + ign, "vainsocial-matches")