1
0
Fork 0

Set interval time on checkLock

refactor/models
Matthew 2019-10-28 00:26:14 -04:00
parent 8ccd1cac1f
commit a451f153bd
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 2 additions and 1 deletions

View File

@ -39,10 +39,11 @@ export default function checkLock(client: Client) {
}); });
// @ts-ignore // @ts-ignore
client.createMessage('580950455581147146', { embed }); client.createMessage('580950455581147146', { embed });
client.signale.complete(`Unlocked account ${account.username} | Queue date at ${moderation.expiration.date.toLocaleString('en-us')}`);
} }
}); });
} catch (error) { } catch (error) {
await client.util.handleError(error); await client.util.handleError(error);
} }
}); }, 10000);
} }