JDA
JDA copied to clipboard
Record where an interaction was acknowledged first
Pull Request Etiquette
- [X] I have checked the PRs for upcoming features/bug fixes.
- [X] I have read the contributing guidelines.
Changes
- [X] Internal code
- [ ] Library interface (affecting end-user code)
- [ ] Documentation
- [ ] Other: _____
Closes Issue: NaN
Description
This PR enables saving stack traces when an user acknowledges an interaction, helping the user find out where their interaction was acknowledged first, in addition to where it tried to acknowledge from.
The stack traces are only saved after the first acknowledgement exception is thrown, and will be disabled when:
- The same exception happens again, this time with additional info
- Or, after 15 minutes (gets reset when the first acknowledgement exception is thrown)