diff --git a/package.json b/package.json index a71861b..17183e4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "axios": "^0.19.0", "body-parser": "^1.19.0", "eris": "^0.11.2", - "eris-pagination": "bsian03/eris-pagination#dev", + "eris-pagination": "git+https://github.com/bsian03/eris-pagination#a10c026e9ce0b9a99799294b7b2a64d5268be56e", "express": "^4.17.1", "fs-extra": "^8.1.0", "helmet": "^3.21.2", diff --git a/src/intervals/memory.ts b/src/intervals/memory.ts index 8149b2d..a77ee17 100644 --- a/src/intervals/memory.ts +++ b/src/intervals/memory.ts @@ -18,6 +18,7 @@ export default function memory(client: Client) { // memory in megabytes const memoryConversion = mem / 1024 / 1024; const userLimits: { soft?: number, hard?: number } = {}; + // @ts-ignore const tier: Tiers = await client.db.Tier.findOne({ id: acc.tier }).lean().exec(); userLimits.soft = acc.ramLimitNotification; userLimits.hard = tier.resourceLimits.ram;