From 6063bc0afff53acff0489e1f644a7da892adad11 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Wed, 14 Apr 2021 08:46:18 -0400 Subject: [PATCH] Update src/helpers/channels/clone_channel.ts Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com> --- src/helpers/channels/clone_channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/channels/clone_channel.ts b/src/helpers/channels/clone_channel.ts index fc6812e28..a6b018215 100644 --- a/src/helpers/channels/clone_channel.ts +++ b/src/helpers/channels/clone_channel.ts @@ -12,7 +12,7 @@ export async function cloneChannel(channelId: string, reason?: string) { //Return undefined if channel is not cached (unsure about error handling) if (!channelToClone) return; - //If "name" is null or undefined as specified by types + //If "name" is undefined as specified by types channelToClone.name ??= "new-channel"; //Merge channel data with reason for createChannel options