SoundcloudClientId is no longer mandatory in order to play soundcloud songs. (thanks to samvaio <3)

This commit is contained in:
Kwoth 2017-02-10 15:26:06 +01:00
parent 145109cd72
commit 567c6f87bf

View File

@ -25,7 +25,17 @@ namespace NadekoBot.Services.Impl
public string LoLApiKey { get; }
public string OsuApiKey { get; }
public string SoundCloudClientId { get; }
private string _soundcloudClientId;
public string SoundCloudClientId {
get {
return string.IsNullOrWhiteSpace(_soundcloudClientId)
? "d0bd7768e3a1a2d15430f0dccb871117"
: _soundcloudClientId;
}
set {
_soundcloudClientId = value;
}
}
public DBConfig Db { get; }
public int TotalShards { get; }