mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user