Merge pull request #1064 from discordeno/fix-channel-caching-not-working

fix(structures/guild): channels not being cached
This commit is contained in:
Skillz4Killz
2021-06-24 08:56:36 -04:00
committed by GitHub

View File

@@ -264,7 +264,11 @@ export async function createDiscordenoGuild(data: Guild, shardId: number) {
});
}
await Promise.all(promises);
await Promise.all(
promises.map(async (promise) => {
return await promise();
})
);
const roles = await Promise.all(
(data.roles || []).map((role) =>