* Changed the way how memberCount is incremented or decremented. * Updated the logic for incrementing/decrementing memberCount for parties and guilds. * Fixed lint errors * Added relevant comment. Changed the way how memberCount is updated to replace the usage of custom query. * Fixed lint errors. * Reverted changes owing to failing tests. * Added relevant comments. Removed duplicate and unwanted code. Added await for async function call. * Minor change due to lint error. * Reverted changes for removing the party member when the menber leaves.
Habitica

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
We need more programmers! Your assistance will be greatly appreciated. The wiki pages below and the additional pages they link to will tell you how to get started on contributing code and where you can go to seek further help or ask questions:
- Guidance for Blacksmiths - an introduction to the technologies used and how the software is organized.
- Setting up Habitica Locally - how to set up a local install of Habitica for development and testing on various platforms.
Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE
Found a bug? Please report it in the Report a Bug guild rather than creating an issue (an admin will advise you if a new issue is necessary; usually it is not).
Have any questions about Habitica or its community? See the links in the habitica.com website's Help menu or drop in to Guilds > Tavern Chat to ask questions or chat socially!