From 71a0835c9a6e33e862513471b24224c3c6ffc624 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 5 Feb 2016 15:19:10 +0100 Subject: [PATCH] parse optional? --- NadekoBot/NadekoBot.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index 5847b847..f2e963a5 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -63,7 +63,10 @@ namespace NadekoBot { Console.WriteLine("SoundCloud streaming enabled."); //init parse - ParseClient.Initialize(creds.ParseID, creds.ParseKey); + if (ParseActive) + try { + ParseClient.Initialize(creds.ParseID, creds.ParseKey); + } catch (Exception) { Console.WriteLine("Parse exception. Probably wrong parse credentials."); } OwnerID = creds.OwnerID; password = creds.Password;