Make sure to assign new bot creds variable

This commit is contained in:
Master Kwoth 2017-07-20 23:48:25 +02:00
parent 613655eb95
commit 0131b7713e

View File

@ -71,6 +71,7 @@ namespace NadekoBot.Services.Impl
PatreonCampaignId = data[nameof(PatreonCampaignId)] ?? "334038"; PatreonCampaignId = data[nameof(PatreonCampaignId)] ?? "334038";
ShardRunCommand = data[nameof(ShardRunCommand)]; ShardRunCommand = data[nameof(ShardRunCommand)];
ShardRunArguments = data[nameof(ShardRunArguments)]; ShardRunArguments = data[nameof(ShardRunArguments)];
CleverbotApiKey = data[nameof(CleverbotApiKey)];
if (string.IsNullOrWhiteSpace(ShardRunCommand)) if (string.IsNullOrWhiteSpace(ShardRunCommand))
ShardRunCommand = "dotnet"; ShardRunCommand = "dotnet";
if (string.IsNullOrWhiteSpace(ShardRunArguments)) if (string.IsNullOrWhiteSpace(ShardRunArguments))