From fea973b346759310a711fa109525b3a9ee2a1d38 Mon Sep 17 00:00:00 2001 From: Exists <55012346+existentiality@users.noreply.github.com> Date: Wed, 14 Apr 2021 13:33:08 -0400 Subject: [PATCH] Editing return type on channel clone method Changed return type of `clone` to reflect `cloneChannel`. Removed unused import for `createChannel`. --- src/structures/channel.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structures/channel.ts b/src/structures/channel.ts index 3e3d27329..e3955e8c8 100644 --- a/src/structures/channel.ts +++ b/src/structures/channel.ts @@ -5,7 +5,6 @@ import { deleteChannel } from "../helpers/channels/delete_channel.ts"; import { deleteChannelOverwrite } from "../helpers/channels/delete_channel_overwrite.ts"; import { editChannel } from "../helpers/channels/edit_channel.ts"; import { editChannelOverwrite } from "../helpers/channels/edit_channel_overwrite.ts"; -import { createChannel } from "../helpers/channels/create_channel.ts"; import { cloneChannel } from "../helpers/channels/clone_channel.ts"; import { sendMessage } from "../helpers/messages/send_message.ts"; import { disconnectMember } from "../helpers/mod.ts"; @@ -166,5 +165,5 @@ export interface DiscordenoChannel /** Edit the channel */ edit(options: ModifyChannel, reason?: string): ReturnType; /** Create a new channel with the same properties */ - clone(reason?: string): ReturnType; + clone(reason?: string): ReturnType; }