diff --git a/package.json b/package.json index 06628667..d91712d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "155.0.1", + "version": "155.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/JeopardyScrape.js b/structures/JeopardyScrape.js index c56c8858..7ae92c03 100644 --- a/structures/JeopardyScrape.js +++ b/structures/JeopardyScrape.js @@ -70,14 +70,17 @@ module.exports = class JeopardyScrape { if (!file.clues || !file.gameIDs || !file.seasons) return null; for (const season of file.seasons) { if (typeof season !== 'string') continue; + if (this.seasons.includes(season)) continue; this.seasons.push(season); } for (const gameID of file.gameIDs) { if (typeof gameID !== 'string') continue; + if (this.gameIDs.includes(gameID)) continue; this.gameIDs.push(gameID); } for (const clue of file.clues) { if (typeof clue !== 'string') continue; + if (this.clues.includes(clue)) continue; this.clues.push(clue); } return file;