Bump version + add new entries to settings.json.example

This commit is contained in:
Frisk 2020-04-06 19:29:05 +02:00
parent a0efa067f3
commit eb0fd43e2c
No known key found for this signature in database
GPG key ID: 213F7C15068AF8AC
2 changed files with 15 additions and 2 deletions

View file

@ -6,7 +6,7 @@ try: # load settings
if settings["limitrefetch"] < settings["limit"] and settings["limitrefetch"] != -1:
settings["limitrefetch"] = settings["limit"]
if "user-agent" in settings["header"]:
settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.9.1") # set the version in the useragent
settings["header"]["user-agent"] = settings["header"]["user-agent"].format(version="1.10") # set the version in the useragent
except FileNotFoundError:
logging.critical("No config file could be found. Please make sure settings.json is in the directory.")
sys.exit(1)

View file

@ -264,5 +264,18 @@
"color": 8092539
}
}
},
"fandom_discussions": {
"enabled": false,
"wiki_id": 1885853,
"cooldown": 60,
"webhookURL": "https://discordapp.com/api/webhooks/111111111111111111/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"limit": 5,
"appearance": {
"mode": "embed",
"embed": {
"show_content": true
}
}
}
}