Update 'src/index.ts'
This commit is contained in:
parent
928175abb0
commit
e530b47533
|
@ -129,7 +129,7 @@ setInterval(async () => {
|
||||||
await periodicCheck();
|
await periodicCheck();
|
||||||
}
|
}
|
||||||
else console.log('Cannot run periodic check as clients aren\'t ready yet');
|
else console.log('Cannot run periodic check as clients aren\'t ready yet');
|
||||||
}, 30000);
|
}, 60000);
|
||||||
|
|
||||||
const checkBot = (): Promise<boolean> => new Promise(async (resolve, _reject) => {
|
const checkBot = (): Promise<boolean> => new Promise(async (resolve, _reject) => {
|
||||||
const id = Math.round(Math.random() * 1000000);
|
const id = Math.round(Math.random() * 1000000);
|
||||||
|
|
Loading…
Reference in a new issue