Skip to content

Commit a1c4112

Browse files
fix(deps): update dependency @discordjs/builders to v1 (#135)
* Update dependency @discordjs/builders to v1 * Update to project description choices to utilise object structure (Fix to erroring on dependency update) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Wolfdragon24 <dragonbomber24@gmail.com> Co-authored-by: Wolfdragon24 <31204305+Wolfdragon24@users.noreply.github.com>
1 parent 90a3e00 commit a1c4112

File tree

3 files changed

+142
-58
lines changed

3 files changed

+142
-58
lines changed

commands/project-descriptions.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ module.exports = {
99
.setName("project")
1010
.setDescription("Which project do you want to be introduced to?")
1111
.setRequired(true)
12-
.addChoices([
13-
["Chaos", "chaos"],
14-
["Circles", "circles"],
15-
["Uni-lectives", "unilectives"],
16-
["Discord Bot", "discordbot"],
17-
["Freerooms", "freerooms"],
18-
["Jobsboard", "jobsboard"],
19-
["Notangles", "notangles"],
20-
["Structs.sh", "structs.sh"],
21-
["Trainee Program", "training-program"],
22-
["UI/UX", "ui/ux"],
23-
["CMS", "cms"],
24-
["Website", "website"],
25-
["???", "projects-fair-easter-egg-ctf"],
26-
]),
12+
.addChoices(
13+
{ name: "Chaos", value: "chaos" },
14+
{ name: "Circles", value: "circles" },
15+
{ name: "Uni-lectives", value: "unilectives" },
16+
{ name: "Discord Bot", value: "discordbot" },
17+
{ name: "Freerooms", value: "freerooms" },
18+
{ name: "Jobsboard", value: "jobsboard" },
19+
{ name: "Notangles", value: "notangles" },
20+
{ name: "Structs.sh", value: "structs.sh" },
21+
{ name: "Trainee Program", value: "training-program" },
22+
{ name: "UI/UX", value: "ui/ux" },
23+
{ name: "CMS", value: "cms" },
24+
{ name: "Website", value: "website" },
25+
{ name: "???", value: "projects-fair-easter-egg-ctf" },
26+
),
2727
),
2828

2929
async execute(interaction) {

package-lock.json

Lines changed: 126 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"homepage": "https://github.com/csesoc/discord-bot#readme",
2626
"dependencies": {
27-
"@discordjs/builders": "0.6.0",
27+
"@discordjs/builders": "1.8.1",
2828
"@discordjs/rest": "0.1.0-canary.0",
2929
"auro-ms-conversion": "1.3.0",
3030
"axios": "0.28.1",

0 commit comments

Comments
 (0)