12beesinatrenchcoat / slabbot

an experimental discord bot with weird features that no one asked for
GNU Affero General Public License v3.0
0 stars 0 forks source link

mongoose depreciations #25

Closed 12beesinatrenchcoat closed 3 years ago

12beesinatrenchcoat commented 3 years ago

findOneAndUpdate() and findOneAndDelete() are deprecated. https://mongoosejs.com/docs/deprecations.html#findandmodify

check the listeners and all the xp stuff. (this is also probably safe to ignore, but better safe than sorry — been seeing this for a while now.)

(oh, and also update those dependencies while you’re at it.)