mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
ref
This commit is contained in:
@@ -45,8 +45,8 @@ export async function createChannel(
|
||||
},
|
||||
)) as DiscordChannel;
|
||||
|
||||
const channelStruct = await structures.createChannelStruct(result);
|
||||
await cacheHandlers.set("channels", channelStruct.id, channelStruct);
|
||||
const discordenoChannel = await structures.createDiscordenoChannel(result);
|
||||
await cacheHandlers.set("channels", discordenoChannel.id, discordenoChannel);
|
||||
|
||||
return channelStruct;
|
||||
return discordenoChannel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user