diff --git a/src/api/structures/guild.ts b/src/api/structures/guild.ts index bffd97546..f1cc711cb 100644 --- a/src/api/structures/guild.ts +++ b/src/api/structures/guild.ts @@ -146,7 +146,7 @@ export async function createGuild(data: CreateGuildPayload, shardID: number) { ); await Promise.all(channels.map(async (channel) => { - const channelStruct = await structures.createChannel(channel); + const channelStruct = await structures.createChannel(channel, rest.id); return cacheHandlers.set("channels", channelStruct.id, channelStruct); }));