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;