Ensure substring following si param gets removed
This commit is contained in:
2
bot.ts
2
bot.ts
@@ -141,7 +141,7 @@ export const bot: ApplicationFunction = (app) => {
|
||||
|
||||
const targetFilename =
|
||||
playlistIdFromPossibleUrl ||
|
||||
filenameWithoutPath.replace(siQueryStart, '');
|
||||
filenameWithoutPath.split(siQueryStart)[0];
|
||||
|
||||
return `- From ${filenameWithoutPath} to **${targetFilename}**`;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user