Merge branch 'min-cooldown' into 'testing'

Update wiki farms with minimal cooldown

See merge request chicken-riders/RcGcDw!130
This commit is contained in:
Frisk 2024-10-29 12:06:41 +00:00
commit 328e74be75

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 # 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 # 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 # 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: if settings["cooldown"] < 15:
settings["cooldown"] = 15 settings["cooldown"] = 15
if settings["fandom_discussions"]["cooldown"] < 15: if settings["fandom_discussions"]["cooldown"] < 15: