diff --git a/src/functions/checkLock.ts b/src/functions/checkLock.ts index 5a2fdf7..eb4e3f9 100644 --- a/src/functions/checkLock.ts +++ b/src/functions/checkLock.ts @@ -3,7 +3,7 @@ import { Client } from '..'; import { RichEmbed } from '../class'; export default function checkLock(client: Client) { - setTimeout(async () => { + setInterval(async () => { try { const moderations = await client.db.Moderation.find(); moderations.forEach(async (moderation) => {