set delays to 100 instead of 1000 range

This commit is contained in:
Fabian Posch 2025-02-04 10:44:07 +01:00
parent 5a6748c8c6
commit 0e20ef1815
2 changed files with 877 additions and 877 deletions

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@ import random
def replace_after_pattern(text):
# Define a function to generate a random number between 950 and 1050
def random_replacement(match):
return f"[after={random.randint(950, 1050)}]"
return f"[after={random.randint(95, 105)}]"
# Use re.sub to find all instances of '[after=1000]' and replace with random number
result = re.sub(r'\[after=1000\]', random_replacement, text)