This commit is contained in:
parent
85fd5e9de9
commit
10d93041fc
@ -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
|
||||||
};
|
};
|
||||||
|
@ -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")
|
||||||
|
@ -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")
|
||||||
|
@ -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 };
|
||||||
|
Loading…
Reference in New Issue
Block a user