mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
Merge pull request #1064 from discordeno/fix-channel-caching-not-working
fix(structures/guild): channels not being cached
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user