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

discord.js v14 migration #208

Open ewang2002 opened 2 years ago

ewang2002 commented 2 years ago

discord.js released v14 a few days ago. If possible, I'd like to update Tooga to the latest version of discord.js. Regarding the release itself, one of the main things I'm interested in is the use of modals to better facilitate user input -- I believe these will be a gamechanger (assuming Discord doesn't just decide to put some weird limits on it).

Migration

Originally, I wanted to include the migration of Tooga from v13 to v14 along with the verification PR. However, due to a lot of runtime errors that I encountered from my own implementation, along with me being busy for the next few weeks, I decided not to include the v14 codebase in the verification PR.

That being said, this means I do have a version of Tooga that uses discord.js v14 -- this version compiles successfully, although (like I said) there are numerous runtime errors, most likely caused by my misunderstanding of the new types and whatnot introduced in v14. This implementation of Tooga includes the changes from the verification PR (#205), so merging should not be an issue.

@dmansdman @nyapat if one of you guys would like to take on the role of fixing the remaining runtime bugs from my implementation, please let me know here and assign yourself to this issue. I'll send you the source code via Discord.

nyapat commented 2 years ago

since this isn't a priority, waiting for 14.1