typings on intervals/autoRelease.ts
parent
0a55962e28
commit
586f7cfce0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue