Skip to content

Commit

Permalink
fix Change owner error #8: 再更新discord.js到v14時
Browse files Browse the repository at this point in the history
遺漏MessageSelectMenu 更新

MessageSelectMenu -> StringSelectMenuBuilder
  • Loading branch information
InterfaceGUI committed Sep 4, 2024
1 parent 3e2fecc commit 939cac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord_temp_vcs",
"version": "1.1.0",
"version": "1.1.1",
"description": "Discord Temp voice bot, that makes voice channel easy to create, manage, and change regions.",
"main": "tempVCs.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions tempVCs.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ client.on("interactionCreate", async (interaction) => {
}
});

let msmComponents = new MessageSelectMenu()
let msmComponents = new StringSelectMenuBuilder()
.setCustomId('select_kick')
.setPlaceholder('Nothing selected')
.addOptions(options)
Expand Down Expand Up @@ -740,7 +740,7 @@ client.on("interactionCreate", async (interaction) => {
}
});

let msmComponents = new MessageSelectMenu()
let msmComponents = new StringSelectMenuBuilder()
.setCustomId('select_changeowner')
.setPlaceholder('Nothing selected')
.addOptions(options)
Expand Down Expand Up @@ -1013,7 +1013,7 @@ _____ _____ _
|_____|___|_|
Ver. 2023.12.18 made by Lars.
Ver. 2024.9.04 made by Lars.
==========================================
`
Expand Down

0 comments on commit 939cac7

Please sign in to comment.