1
0
Fork 0

fix dm issue with resetpassword.ts

pull/1/head
Matthew 2024-01-06 19:01:40 -05:00
parent f231cc4fdd
commit 88e2273f5f
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
1 changed files with 1 additions and 2 deletions

View File

@ -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) {