This commit is contained in:
parent
85fd5e9de9
commit
10d93041fc
@ -31,7 +31,7 @@ module.exports = {
|
||||
option.setName("game")
|
||||
.setDescription("Select the maptest game")
|
||||
.setRequired(true)
|
||||
.addChoices(commands))
|
||||
.addChoices(...commands))
|
||||
,
|
||||
execute
|
||||
};
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user