From 2014fc888593f3b68460de80e9817f1f4548cc80 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 19 Oct 2016 10:17:16 +0200 Subject: [PATCH] Fixed !!pl, fixed copying of .dlls to root folder --- src/NadekoBot/Services/Impl/GoogleApiService.cs | 1 + src/NadekoBot/{libs => }/libsodium.dll | Bin src/NadekoBot/{libs => }/opus.dll | Bin src/NadekoBot/project.json | 3 ++- 4 files changed, 3 insertions(+), 1 deletion(-) rename src/NadekoBot/{libs => }/libsodium.dll (100%) rename src/NadekoBot/{libs => }/opus.dll (100%) diff --git a/src/NadekoBot/Services/Impl/GoogleApiService.cs b/src/NadekoBot/Services/Impl/GoogleApiService.cs index 712dc4a9..0264e351 100644 --- a/src/NadekoBot/Services/Impl/GoogleApiService.cs +++ b/src/NadekoBot/Services/Impl/GoogleApiService.cs @@ -46,6 +46,7 @@ namespace NadekoBot.Services.Impl var query = yt.Search.List("snippet"); query.MaxResults = count; query.Type = "playlist"; + query.Q = keywords; return (await query.ExecuteAsync()).Items.Select(i => i.Id.PlaylistId); } diff --git a/src/NadekoBot/libs/libsodium.dll b/src/NadekoBot/libsodium.dll similarity index 100% rename from src/NadekoBot/libs/libsodium.dll rename to src/NadekoBot/libsodium.dll diff --git a/src/NadekoBot/libs/opus.dll b/src/NadekoBot/opus.dll similarity index 100% rename from src/NadekoBot/libs/opus.dll rename to src/NadekoBot/opus.dll diff --git a/src/NadekoBot/project.json b/src/NadekoBot/project.json index 67066f42..bd846dfc 100644 --- a/src/NadekoBot/project.json +++ b/src/NadekoBot/project.json @@ -10,7 +10,8 @@ "exclude": [ "data" ] }, "copyToOutput": { - "include": [ "data", "libs" ], + "include": [ "data" ], + "includeFiles": ["libsodium.dll", "opus.dll"], "exclude": [ "data/musicdata" ], "mappings": { "./": "./libs"