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:
parent
d99ddab6de
commit
14efcc06bf
1 changed files with 2 additions and 0 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue