diff --git a/src/intervals/autoRelease.ts b/src/intervals/autoRelease.ts index f115d0b..f54c874 100644 --- a/src/intervals/autoRelease.ts +++ b/src/intervals/autoRelease.ts @@ -2,7 +2,7 @@ import { Client } from '../class'; let interval: NodeJS.Timeout; -export default function checkLock(client: Client) { +export default function checkLock(client: Client): NodeJS.Timeout { interval = setInterval(async () => { try { const moderations = await client.db.moderation.find();