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") option.setName("game")
.setDescription("Select the maptest game") .setDescription("Select the maptest game")
.setRequired(true) .setRequired(true)
.addChoices(commands)) .addChoices(...commands))
, ,
execute execute
}; };

View File

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

View File

@ -56,7 +56,7 @@ module.exports = {
option.setName("game") option.setName("game")
.setDescription("Select the maptest game") .setDescription("Select the maptest game")
.setRequired(true) .setRequired(true)
.addChoices(commands)) .addChoices(...commands))
.addIntegerOption(option => .addIntegerOption(option =>
option.setName("asset_id") option.setName("asset_id")
.setDescription("The asset ID of the model") .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 = { const cookies = {
bhop: bhopCookie, bhop: bhopCookie,
surf: surfCookie, surf: surfCookie,
@ -11,4 +11,4 @@ for (const game in cookies) {
submissions[game] = "files/" + game + "_submissions.csv"; submissions[game] = "files/" + game + "_submissions.csv";
commands.push({name: game, value: game}); commands.push({name: game, value: game});
} }
export { cookies, submissions, commands }; module.exports = { cookies, submissions, commands };