mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-06 10:37:19 +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);
|
logRateLimit(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bot.on("error", errorHandler);
|
||||||
|
|
||||||
bot.on("loadingFinished", async () => {
|
bot.on("loadingFinished", async () => {
|
||||||
setProfiler(bot.profiler);
|
setProfiler(bot.profiler);
|
||||||
if (process.env.PROFILING === "true") {
|
if (process.env.PROFILING === "true") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue