fix dm issue with resetpassword.ts
parent
f231cc4fdd
commit
88e2273f5f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue