diff --git a/interactionHandlers/common/resetPasswordDialog.js b/interactionHandlers/common/resetPasswordDialog.js index 63cf6d9..7676bf7 100644 --- a/interactionHandlers/common/resetPasswordDialog.js +++ b/interactionHandlers/common/resetPasswordDialog.js @@ -22,7 +22,7 @@ module.exports.execute = async (interaction) => { { type: 18, // Label label: "New Password. Leave blank for random.", - components: [ { + component: { type: 4, // Text Input customId: 'newPassword', style: 1, @@ -30,7 +30,7 @@ module.exports.execute = async (interaction) => { max_length: 64, placeholder: 'New Password', required: false - } ] + } } ] }