From 80d1f5a7dd869b85645d26b03f4f3cbc3943dc88 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 26 Oct 2019 18:33:05 +0100 Subject: [PATCH] Don't throw an error if user cannot be DMed --- src/commands/unlock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index 245ac84..965cb33 100644 --- a/src/commands/unlock.ts +++ b/src/commands/unlock.ts @@ -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) {