Update message and max delay
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import { createServer } from 'node:http';
|
import { createServer } from 'node:http';
|
||||||
import { setTimeout } from 'node:timers';
|
import { setTimeout } from 'node:timers';
|
||||||
|
|
||||||
const msg = ':) you are an idiot hahahahaha :)';
|
const msg = 'Relax, take it easy! For there is nothing that we can do.';
|
||||||
const minDelay = 3000;
|
const minDelay = 3000;
|
||||||
const maxDelay = 7000;
|
const maxDelay = 5000;
|
||||||
const delayDiff = maxDelay - minDelay;
|
const delayDiff = maxDelay - minDelay;
|
||||||
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);
|
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user