Fixed mashape api key loading

This commit is contained in:
Kwoth 2016-08-21 01:01:50 +02:00
parent 5600afe96a
commit 7cfb04cdfa
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ namespace NadekoBot.Services
string Token { get; }
string GoogleApiKey { get; }
ulong[] OwnerIds { get; }
IEnumerable<string> MashapeKey { get; }
string MashapeKey { get; }
string LoLApiKey { get; }
bool IsOwner(IUser u);

View File

@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl
public string GoogleApiKey { get; }
public IEnumerable<string> MashapeKey { get; }
public string MashapeKey { get; }
public string Token { get; }
@ -46,7 +46,7 @@ namespace NadekoBot.Services.Impl
public ulong[] OwnerIds { get; set; }
public string LoLApiKey { get; set; }
public string GoogleApiKey { get; set; }
public IEnumerable<string> MashapeKey { get; set; }
public string MashapeKey { get; set; }
}
public bool IsOwner(IUser u) => OwnerIds.Contains(u.Id);