Don't throw an error if user cannot be DMed
parent
8623ea288a
commit
80d1f5a7dd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue