diff --git a/src/modules/block.js b/src/modules/block.js index 6a73822..25d51b4 100644 --- a/src/modules/block.js +++ b/src/modules/block.js @@ -20,7 +20,7 @@ module.exports = ({ bot, knex, config, commands }) => { async function expiredBlockLoop() { try { - removeExpiredBlocks(); + await removeExpiredBlocks(); } catch (e) { console.error(e); }