Carter Penterman
3a167cf686
Some checks failed
continuous-integration/drone/push Build is failing
The enhancements: - Added map validation that checks for some common errors that maps have - /take: Does map validation but will still take the map even if there are problems - /take: Improved the help text and added links to the maptest places - /submit: Does map validation and will not let you submit if there are problems - /submissions: Now shows the map's display name and creator - Added an ESLint config and tidied some things up - Updated some of the packages Reviewed-on: #13 Co-authored-by: Carter Penterman <carterpenterman@gmail.com> Co-committed-by: Carter Penterman <carterpenterman@gmail.com>
25 lines
722 B
JavaScript
25 lines
722 B
JavaScript
const { bhopCookie, surfCookie, deathrunCookie, flytrialsCookie } = require("./config.json");
|
|
|
|
const cookies = {
|
|
bhop: bhopCookie,
|
|
surf: surfCookie,
|
|
deathrun: deathrunCookie,
|
|
flytrials: flytrialsCookie,
|
|
};
|
|
|
|
const submissions = {};
|
|
const commands = [];
|
|
for (const game in cookies) {
|
|
submissions[game] = "files/" + game + "_submissions.csv";
|
|
commands.push({name: game, value: game});
|
|
}
|
|
|
|
const gamePlaces = {
|
|
bhop: "https://www.roblox.com/games/517201717/",
|
|
surf: "https://www.roblox.com/games/517206177/",
|
|
deathrun: "https://www.roblox.com/games/6870563649/",
|
|
flytrials: "https://www.roblox.com/games/12724901535/"
|
|
};
|
|
|
|
module.exports = { cookies, submissions, commands, gamePlaces };
|