merge-requests/1/merge
Bsian 2019-12-25 02:18:01 +00:00
parent 7c12ca9192
commit ff20f08d8a
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default class ResetPassword extends Command {
const tempPass = this.client.util.randomPassword();
await this.client.util.exec(`echo '${account.username}:${tempPass}' | chpasswd`);
let completeMessage = `${this.client.stores.emojis.success} ***Password for ${account.userID} reset to \`${tempPass}\`***`;
let completeMessage = `${this.client.stores.emojis.success} ***Password for ${account.username} reset to \`${tempPass}\`***`;
const dmChannel = await this.client.getDMChannel(account.userID);
try {
await dmChannel.createMessage(`We received a password reset request from you, your new password is \`${tempPass}\`.\n`