fix(structures/channel): empty guildID in Channel struct (#551)

This commit is contained in:
ITOH
2021-02-26 19:11:02 +01:00
committed by GitHub
parent 7b482aeed1
commit 8f8f988e2b
+1 -1
View File
@@ -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);
}));