removed soundcloud id support

This commit is contained in:
Master Kwoth 2017-06-20 04:24:24 +02:00
parent 808dca8ec4
commit d5f4dcdf20
2 changed files with 2 additions and 14 deletions

View File

@ -16,7 +16,6 @@ namespace NadekoBot.Services
string CarbonKey { get; }
DBConfig Db { get; }
string SoundCloudClientId { get; }
string OsuApiKey { get; }
bool IsOwner(IUser u);

View File

@ -25,17 +25,6 @@ namespace NadekoBot.Services.Impl
public string LoLApiKey { get; }
public string OsuApiKey { get; }
private string _soundcloudClientId;
public string SoundCloudClientId {
get {
return string.IsNullOrWhiteSpace(_soundcloudClientId)
? "d0bd7768e3a1a2d15430f0dccb871117"
: _soundcloudClientId;
}
private set {
_soundcloudClientId = value;
}
}
public DBConfig Db { get; }
public int TotalShards { get; }
@ -81,8 +70,8 @@ namespace NadekoBot.Services.Impl
ulong.TryParse(data[nameof(ClientId)], out clId);
ClientId = clId;
var scId = data[nameof(SoundCloudClientId)];
SoundCloudClientId = scId;
//var scId = data[nameof(SoundCloudClientId)];
//SoundCloudClientId = scId;
//SoundCloudClientId = string.IsNullOrWhiteSpace(scId)
// ?
// : scId;