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