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