3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-05 18:27:18 +00:00

fix: loops not running if there are config errors on startup

This commit is contained in:
Dragory 2025-06-02 22:54:25 +00:00
parent d99ddab6de
commit 14efcc06bf
No known key found for this signature in database

View file

@ -403,6 +403,8 @@ connect().then(async () => {
logRateLimit(data);
});
bot.on("error", errorHandler);
bot.on("loadingFinished", async () => {
setProfiler(bot.profiler);
if (process.env.PROFILING === "true") {