This commit is contained in:
Erik 2022-08-31 23:26:09 +03:00
parent a3d17cc640
commit 3400ff63be
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -159,7 +159,11 @@ class GuildWrapper {
const { defaultConfig } = this;
if (!settings && !_imported?.settings && !_imported?.modlogs) {
settings = await this._attemptDataImport();
if (this._importPromise) settings = await this._importPromise;
else {
this._importPromise = this._attemptDataImport();
settings = await this._importPromise;
}
}
if (settings) {