From 24713e4a3deda69c4b01f69d33e286cb1037cb68 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 11 Jan 2016 21:37:48 +0100 Subject: [PATCH] fixed audio bug --- NadekoBot/NadekoBot.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index ccdcc96d..c125b378 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -30,6 +30,8 @@ namespace NadekoBot botMention = c.BotMention; if (c.GoogleAPIKey == null || c.GoogleAPIKey == "") { Console.WriteLine("No google api key found. You will not be able to use music and links won't be shortened."); + } else { + GoogleAPIKey = c.GoogleAPIKey; } OwnerID = c.OwnerID; password = c.Password;