add flytrials

This commit is contained in:
Quaternions 2023-03-08 12:37:55 -08:00
parent 0853602afb
commit 5681e21fbe
4 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,7 @@ const gameDict = {
bhop: "files/bhop_submissions.csv", bhop: "files/bhop_submissions.csv",
surf: "files/surf_submissions.csv", surf: "files/surf_submissions.csv",
deathrun: "files/deathrun_submissions.csv", deathrun: "files/deathrun_submissions.csv",
flytrials: "files/flytrials_submissions.csv",
}; };
var commandChoices = []; var commandChoices = [];
for (const [game, file] of Object.entries(gameDict)) { for (const [game, file] of Object.entries(gameDict)) {

View File

@ -7,6 +7,7 @@ const gameDict = {
bhop: "files/bhop_submissions.csv", bhop: "files/bhop_submissions.csv",
surf: "files/surf_submissions.csv", surf: "files/surf_submissions.csv",
deathrun: "files/deathrun_submissions.csv", deathrun: "files/deathrun_submissions.csv",
flytrials: "files/flytrials_submissions.csv",
}; };
var commandChoices = []; var commandChoices = [];
for (const [game, file] of Object.entries(gameDict)) { for (const [game, file] of Object.entries(gameDict)) {

View File

@ -1,10 +1,11 @@
const { SlashCommandBuilder } = require('@discordjs/builders'); const { SlashCommandBuilder } = require('@discordjs/builders');
const noblox = require("noblox.js"); const noblox = require("noblox.js");
const { bhopCookie, surfCookie, deathrunCookie } = require("../config/config.json"); const { bhopCookie, surfCookie, deathrunCookie, flytrialsCookie } = require("../config/config.json");
const cookieDict = { const cookieDict = {
bhop: bhopCookie, bhop: bhopCookie,
surf: surfCookie, surf: surfCookie,
deathrun: deathrunCookie, deathrun: deathrunCookie,
flytrials: flytrialsCookie,
}; };
var commandChoices = []; var commandChoices = [];
for (const [game, file] of Object.entries(cookieDict)) { for (const [game, file] of Object.entries(cookieDict)) {

View File

@ -3,5 +3,6 @@
"clientId": "", "clientId": "",
"bhopCookie": "", "bhopCookie": "",
"surfCookie": "", "surfCookie": "",
"deathrunCookie": "" "deathrunCookie": "",
"flytrialsCookie": ""
} }