mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add jeopardy failsafe
This commit is contained in:
@@ -89,6 +89,7 @@ module.exports = class JeopardyScrape {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exportData() {
|
exportData() {
|
||||||
|
if (!this.clues.length) this.importData();
|
||||||
const buf = Buffer.from(JSON.stringify({
|
const buf = Buffer.from(JSON.stringify({
|
||||||
clues: this.clues,
|
clues: this.clues,
|
||||||
gameIDs: this.gameIDs,
|
gameIDs: this.gameIDs,
|
||||||
|
|||||||
Reference in New Issue
Block a user