Closed ghost closed 2 years ago
Didn't have time to answer yet, but you're probably doing other operations before declaring a handler.
The error happens because the library needs the handler (either JDA or ShardManager) to be able to check for Emotes' validity.
Didn't have time to answer yet, but you're probably doing other operations before declaring a handler.
The error happens because the library needs the handler (either JDA or ShardManager) to be able to check for Emotes' validity.
Yeah, after sleeping I, unfortunately, realised the issue.
Checklist
Make sure that you've checked all the items below.
JDABuilder.createLight()
, you added the following gateway intents:.setRemoveOnReact(true)
, you have the following permission:Library info
What libraries versions are you using.
Describe the bug
When activating the paginator, it gives me an UnhandledException due to InvalidHandlerException. When attempting to either add an exception to the method signature or surrounding with a try-catch, it gives me another error stating that the provided type is void.
Edit note: These errors appear in the IDE rather than the console. Won't let me start the bot.