Don't throw an error if user cannot be DMed

merge-requests/1/merge
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) => { this.client.getDMChannel(account.userID).then((user) => {
// @ts-ignore // @ts-ignore
user.createMessage({ embed }); user.createMessage({ embed });
}); }).catch();
// @ts-ignore // @ts-ignore
this.client.createMessage('580950455581147146', { embed }); this.client.createMessage('580950455581147146', { embed });
} catch (error) { } catch (error) {