diff --git a/configloader.py b/configloader.py index 51d6395..40435c7 100644 --- a/configloader.py +++ b/configloader.py @@ -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) diff --git a/settings.json.example b/settings.json.example index 8b7213c..d51921c 100644 --- a/settings.json.example +++ b/settings.json.example @@ -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 + } + } + } }