ToogaInc / ToogaBooga

An open-source Realm of the Mad God Discord chat bot designed for advanced cross-verification, moderation, and raid management.
MIT License
8 stars 4 forks source link

chore: bump discord.js version to v13.14.0 #282

Closed ewang2002 closed 1 year ago

ewang2002 commented 1 year ago

discord.js v13.8.0 was deprecated. As noted in the Discord.js announcement:

image

So, this PR should also fix the issues we've been having with various dropdowns not working either.


One thing to note: I've added a cast to never (e.g., "" as never) when updating values in the database. This is because the possible properties that TypeScript sees can be one of many different value types, and I guess TypeScript really wants us to assert that the value that we're using to update the entry in the database satisfies all of those types? Not too sure, though.