diff --git a/scripts/commands/channels/editor.ts b/scripts/commands/channels/editor.ts index 34f80d63..a723118b 100644 --- a/scripts/commands/channels/editor.ts +++ b/scripts/commands/channels/editor.ts @@ -147,7 +147,7 @@ async function getInput(channel: Channel) { function getOptions(channelsIndex, channel: Channel) { const channelId = generateCode(channel.name, defaultCountry) - const query = channel.name.replace(/\s(SD|TV|HD)$/i, '') + const query = channel.name.replace(/\s(SD|TV|HD)$/i, '').replace(/\+/gi, '') const similar = channelsIndex.search(query).map(item => new ApiChannel(item)) const variants = new Collection()