Tracking username length limit in data file.

This commit is contained in:
alwayscompiling
2022-07-20 22:17:20 -04:00
parent 374632bbc6
commit 090184c1e9
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def open_highscores_data():
data = json.load(file)
else:
# create the json object
data = {"highscore_channel_id": -1, "verification_channel_id": -1}
data = {"highscore_channel_id": -1, "verification_channel_id": -1, "username_length": 12}
config: dict = open_highscores_config()
for boss, categories in config["highscore_table"].items():
data[boss] = {"message_id": 0}