diff --git a/src/structure/client/wrappers/GuildWrapper.js b/src/structure/client/wrappers/GuildWrapper.js index 4fe6c38..95ad96e 100644 --- a/src/structure/client/wrappers/GuildWrapper.js +++ b/src/structure/client/wrappers/GuildWrapper.js @@ -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) {