Update wiki farms with minimal cooldown

This commit is contained in:
MarkusRost 2024-10-29 12:03:21 +00:00
parent 2737d3d16b
commit cb2c811a15

View file

@ -36,7 +36,7 @@ def load_settings():
# Look, it's unreasonable to have even higher refresh rate than that, seriously. Setting it even lower can cause issues
# for all users of the script for high usage of farm's servers. So please, do not remove this code unless you absolutely
# know what you are doing <3
if any(("fandom.com" in settings["wiki_url"], "gamepedia.com" in settings["wiki_url"])):
if any(domain in settings["wiki_url"] for domain in (".fandom.com", ".wiki.gg", ".miraheze.org")):
if settings["cooldown"] < 15:
settings["cooldown"] = 15
if settings["fandom_discussions"]["cooldown"] < 15: