BudWorks / Akaei

A fun, cute, and modern Discord bot featuring pets, economy, leveling, and more. Built with Discord.js and written in Typescript.
Mozilla Public License 2.0
1 stars 0 forks source link

Create `badge` subdocument and add it to `User` schema #43

Open JustYourBud opened 2 years ago

JustYourBud commented 2 years ago

The badge subdocument contains info about what badges a user has, as well as what tiers they're at and other related info. It also contains the user's badge score.

Interface (WIP)

{
  badgeScore: number;
  badges: [{
    ...
  }];
}