1
0
Fork 0

Don't throw an error if user cannot be DMed

refactor/models
Bsian 2019-10-26 18:33:05 +01:00
parent 8623ea288a
commit 80d1f5a7dd
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export default class Unlock extends Command {
this.client.getDMChannel(account.userID).then((user) => {
// @ts-ignore
user.createMessage({ embed });
});
}).catch();
// @ts-ignore
this.client.createMessage('580950455581147146', { embed });
} catch (error) {