diff --git a/.vscode/launch.json b/.vscode/launch.json index 2419b19..06281b4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,8 +9,8 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build", - // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/bin/Debug/net5.0/silverworker-discord.dll", + // If you were forced to change the target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/bin/Debug/net6.0/silverworker-discord.dll", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/Features.cs b/Features.cs index fbd23cb..a37295f 100644 --- a/Features.cs +++ b/Features.cs @@ -14,7 +14,7 @@ namespace silverworker_discord public static async void detiktokify(Uri link, SocketUserMessage message) { var ytdl = new YoutubeDLSharp.YoutubeDL(); - ytdl.YoutubeDLPath = "youtube-dl"; + ytdl.YoutubeDLPath = "yt-dlp"; ytdl.FFmpegPath = "ffmpeg"; ytdl.OutputFolder = ""; ytdl.OutputFileTemplate = "tiktokbad.%(ext)s"; diff --git a/silverworker-discord.csproj b/silverworker-discord.csproj index 1a8efdf..92ffb9c 100644 --- a/silverworker-discord.csproj +++ b/silverworker-discord.csproj @@ -2,9 +2,9 @@ Exe - net5.0 + net6.0 silverworker_discord - $(RestoreSources);../packages/nuget/;https://api.nuget.org/v3/index.json + https://thegreyn.jfrog.io/artifactory/api/nuget/adamrgrey-nuget;https://api.nuget.org/v3/index.json @@ -13,7 +13,7 @@ - +