parse optional?

This commit is contained in:
Master Kwoth 2016-02-05 15:19:10 +01:00
parent 9c9e676ae9
commit 71a0835c9a

View File

@ -63,7 +63,10 @@ namespace NadekoBot {
Console.WriteLine("SoundCloud streaming enabled.");
//init parse
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;