This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basically, I found that if you cause/execute an error that is undefined/null, when the bot tries to send err.stack, it will result in a TypeError because err is undefined, and so it can't read the stack property. This is a very simple fix. You can replicate this error yourself by just trying to execute Promise.reject().
- Loading branch information