N3XT 🎃
DIAdiscord.js - Imagine an app
•Created by N3XT 🎃 on 9/8/2024 in #djs-questions
Max Event Listeners
Hello, quick question. In my discord bot, I have several modules where some of them use a seperate ready event file. I'm now experiencing an issue where I reached the max amount of listeners, but I really do need the seperate ready event file for organization.
If I decide to continue with the ready event file, is there a way to set the maximum listeners to around 12, instead of the default 10? Also, would that be bad for the bot, or would I be just fine?
Thanks in advance!
2 replies