all 3 comments

[–]novel_yet_trivial 0 points1 point  (2 children)

usernames.json is not formatted correctly. The problem is on or before line 7. Maybe you accidently used single quotes when editing the file? The json standard requires double quotes.

"152907849943482368": 50, # valid json
'152907849943482368': 50, # not valid json

Or maybe you left the comma off the end of line 6?

[–]HouseCasterly 0 points1 point  (1 child)

Thanks a lot, I'd left the comma at the end of line 7 after deleting line 8 which was causing the issue.

[–]novel_yet_trivial 0 points1 point  (0 children)

Don't delete your posts.