Discord skills bot
To motivate learning or getting better at anything, I hacked together this bot in a RPG style game. Anytime I learned something, I can write:
!skill Developer +10
Then it will add 10 experience points to my profession "Developer" and writes it into JSON file under my username. Another command is to display my professions, accumulated experience and level.
!skills Users's profession list: Developer level: 6 Exp: 91/128 DevOps level: 5 Exp: 61/64
Level is not stored in json file, there is no point. When
!skills command is called, level is calculated from experience using log(2) function. Technologies used here: discord.py framework, JSON files.