mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix(structures/channel): empty guildID in Channel struct (#551)
This commit is contained in:
@@ -146,7 +146,7 @@ export async function createGuild(data: CreateGuildPayload, shardID: number) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await Promise.all(channels.map(async (channel) => {
|
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);
|
return cacheHandlers.set("channels", channelStruct.id, channelStruct);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user