AardWolf / MHTimerBot

Discord bot that understands mousehunt timers
MIT License
7 stars 12 forks source link

refactor: Syntax updates, Discord v13 fixes, promises->async #240

Closed tehhowch closed 2 years ago

tehhowch commented 2 years ago

This one's a bit larger than the previous, and needs a bit more testing yet. Opening for feedback + awareness.

I believe there are a number of other v13 bugs still present; need to look at our "is this a DM?" handles and also figure out a way to make our mocks throw errors when they no longer match the signature of the related discord object (which would have flagged the hasPermission helper removal.

Commit messages have more details in some cases, please read them.

tehhowch commented 2 years ago

Won't be working on this for a few days, is not more broken than current dev so merge at your leisure.

AardWolf commented 2 years ago

So many wonderful changes! I could have sworn I got all the send splits and some of these other ones too. But obviously didn't.