The event listener originally immediately attempted to get added to the jda. However, making the Discord bot asynchronous will sometimes break this as the jda will sometimes be null.
Fixes #144
Type of Change
[ ] Bug Fix (Small Non-Code Breaking Issue)
[x] Bug Fix (Critical Code Breaking Issue)
[ ] Feature (Something New Added to the Code)
[ ] Improvement (Improving An Existing Section of Code)
[ ] Documentation Update
[ ] Security Vulnerability
Changes
[x] Internal Code
[ ] Documentation
[ ] Other: _____
Test Configuration
Hardware:
CPU: AMD Ryzen 7 5800x3D
GPU: Nvidia RTX 3080
RAM: 32 GB DDR4
JDK: Java OpenJDK 17
Checklist
[x] This pull request has been linked to the appropriate issue on GitHub. (Use the development section on the right.)
Pull Request
Description
The event listener originally immediately attempted to get added to the
jda
. However, making the Discord bot asynchronous will sometimes break this as thejda
will sometimes benull
.Fixes #144
Type of Change
Changes
Test Configuration
Checklist
README.md
file.