diff --git a/src/commands/resetpassword.ts b/src/commands/resetpassword.ts index 7cc10ed..5785dd1 100644 --- a/src/commands/resetpassword.ts +++ b/src/commands/resetpassword.ts @@ -31,8 +31,7 @@ export default class ResetPassword extends Command { + `You will be asked to change your password when you log back in, \`(current) UNIX password\` is \`${tempPass}@\`, then create a password that is at least 12 characters long, with at least one number, special character, and an uppercase letter.\n` + 'Bear in mind that when you enter your password, it will be blank, so be careful not to type in your password incorrectly.'); } catch (error) { - if (error.code === 50007) completeMessage += '\n*Unable to DM user*'; - throw error; + completeMessage += '\n*Unable to DM user*'; } return msg.edit(completeMessage); } catch (error) {