parse optional?
This commit is contained in:
parent
9c9e676ae9
commit
71a0835c9a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user