diff --git a/interactionHandlers/common/resetPasswordDialog.js b/interactionHandlers/common/resetPasswordDialog.js index 37c5dfb..de71556 100644 --- a/interactionHandlers/common/resetPasswordDialog.js +++ b/interactionHandlers/common/resetPasswordDialog.js @@ -19,17 +19,15 @@ module.exports.execute = async (interaction) => { { type: 18, // Label label: "New Password. Leave blank for random.", - components: [ - { - type: 4, // Text Input - id: 'newPassword', - style: 1, - min_length: 6, - max_length: 64, - placeholder: 'New Password', - required: false - } - ] + component: { + type: 4, // Text Input + id: 'newPassword', + style: 1, + min_length: 6, + max_length: 64, + placeholder: 'New Password', + required: false + } } ] });