forked from Galactic/galactic-bot
blergh
This commit is contained in:
parent
a3d17cc640
commit
3400ff63be
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user