Fixed mashape api key loading
This commit is contained in:
parent
5600afe96a
commit
7cfb04cdfa
@ -10,7 +10,7 @@ namespace NadekoBot.Services
|
|||||||
string Token { get; }
|
string Token { get; }
|
||||||
string GoogleApiKey { get; }
|
string GoogleApiKey { get; }
|
||||||
ulong[] OwnerIds { get; }
|
ulong[] OwnerIds { get; }
|
||||||
IEnumerable<string> MashapeKey { get; }
|
string MashapeKey { get; }
|
||||||
string LoLApiKey { get; }
|
string LoLApiKey { get; }
|
||||||
|
|
||||||
bool IsOwner(IUser u);
|
bool IsOwner(IUser u);
|
||||||
|
@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
|
|
||||||
public string GoogleApiKey { get; }
|
public string GoogleApiKey { get; }
|
||||||
|
|
||||||
public IEnumerable<string> MashapeKey { get; }
|
public string MashapeKey { get; }
|
||||||
|
|
||||||
public string Token { get; }
|
public string Token { get; }
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
public ulong[] OwnerIds { get; set; }
|
public ulong[] OwnerIds { get; set; }
|
||||||
public string LoLApiKey { get; set; }
|
public string LoLApiKey { get; set; }
|
||||||
public string GoogleApiKey { 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);
|
public bool IsOwner(IUser u) => OwnerIds.Contains(u.Id);
|
||||||
|
Loading…
Reference in New Issue
Block a user