Fix quatcode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
itzaname 2023-03-18 22:21:59 -04:00
parent 85fd5e9de9
commit 10d93041fc
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ module.exports = {
option.setName("game")
.setDescription("Select the maptest game")
.setRequired(true)
.addChoices(commands))
.addChoices(...commands))
,
execute
};

View File

@ -95,7 +95,7 @@ module.exports = {
option.setName("game")
.setDescription("Select the maptest game")
.setRequired(true)
.addChoices(commands))
.addChoices(...commands))
.addIntegerOption(option =>
option.setName("asset_id")
.setDescription("The asset ID of the model")

View File

@ -56,7 +56,7 @@ module.exports = {
option.setName("game")
.setDescription("Select the maptest game")
.setRequired(true)
.addChoices(commands))
.addChoices(...commands))
.addIntegerOption(option =>
option.setName("asset_id")
.setDescription("The asset ID of the model")

View File

@ -1,4 +1,4 @@
const { bhopCookie, surfCookie, deathrunCookie, flytrialsCookie } = require("config.json");
const { bhopCookie, surfCookie, deathrunCookie, flytrialsCookie } = require("./config.json");
const cookies = {
bhop: bhopCookie,
surf: surfCookie,
@ -11,4 +11,4 @@ for (const game in cookies) {
submissions[game] = "files/" + game + "_submissions.csv";
commands.push({name: game, value: game});
}
export { cookies, submissions, commands };
module.exports = { cookies, submissions, commands };