diff --git a/commands/submissions.js b/commands/submissions.js index 4faf47d..8cef210 100644 --- a/commands/submissions.js +++ b/commands/submissions.js @@ -5,6 +5,7 @@ const gameDict = { bhop: "files/bhop_submissions.csv", surf: "files/surf_submissions.csv", deathrun: "files/deathrun_submissions.csv", + flytrials: "files/flytrials_submissions.csv", }; var commandChoices = []; for (const [game, file] of Object.entries(gameDict)) { diff --git a/commands/submit.js b/commands/submit.js index 029db72..c040350 100644 --- a/commands/submit.js +++ b/commands/submit.js @@ -7,6 +7,7 @@ const gameDict = { bhop: "files/bhop_submissions.csv", surf: "files/surf_submissions.csv", deathrun: "files/deathrun_submissions.csv", + flytrials: "files/flytrials_submissions.csv", }; var commandChoices = []; for (const [game, file] of Object.entries(gameDict)) { diff --git a/commands/take.js b/commands/take.js index a730c86..07a939b 100644 --- a/commands/take.js +++ b/commands/take.js @@ -1,10 +1,11 @@ const { SlashCommandBuilder } = require('@discordjs/builders'); const noblox = require("noblox.js"); -const { bhopCookie, surfCookie, deathrunCookie } = require("../config/config.json"); +const { bhopCookie, surfCookie, deathrunCookie, flytrialsCookie } = require("../config/config.json"); const cookieDict = { bhop: bhopCookie, surf: surfCookie, deathrun: deathrunCookie, + flytrials: flytrialsCookie, }; var commandChoices = []; for (const [game, file] of Object.entries(gameDict)) { diff --git a/config/example_config.json b/config/example_config.json index 8d40460..fc78917 100644 --- a/config/example_config.json +++ b/config/example_config.json @@ -3,5 +3,6 @@ "clientId": "", "bhopCookie": "", "surfCookie": "", - "deathrunCookie": "" + "deathrunCookie": "", + "flytrialsCookie": "" } \ No newline at end of file