We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dbe4b7 commit 515a068Copy full SHA for 515a068
1 file changed
backend/src/index.ts
@@ -276,9 +276,12 @@ connect().then(async () => {
276
}
277
});
278
279
+ let ignorePluginLoadErrors = true;
280
client.on("error", (err) => {
281
if (err instanceof PluginLoadError) {
- errorHandler(err);
282
+ if (!ignorePluginLoadErrors) {
283
+ errorHandler(err);
284
+ }
285
return;
286
287
errorHandler(new DiscordJSError(err.message, (err as any).code, 0));
@@ -411,6 +414,8 @@ connect().then(async () => {
411
414
enableProfiling();
412
415
413
416
417
+ ignorePluginLoadErrors = false;
418
+
419
initFishFish();
420
421
runExpiringMutesLoop();
0 commit comments