Update src/helpers/channels/clone_channel.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
This commit is contained in:
Skillz4Killz
2021-04-14 08:46:02 -04:00
committed by GitHub
parent bfb3502252
commit 084d149598

View File

@@ -5,7 +5,7 @@ import { DiscordenoChannel } from "../../structures/channel.ts";
/** Create a copy of a channel */
export async function cloneChannel(channelId: string, reason?: string) {
const channelToClone: DiscordenoChannel | undefined = await cacheHandlers.get(
const channelToClone = await cacheHandlers.get(
"channels",
channelId
);