Mashape key now loading, ~# and ~ud sould work
This commit is contained in:
parent
9e158b53b0
commit
5600afe96a
@ -35,6 +35,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
OwnerIds = cm.OwnerIds;
|
OwnerIds = cm.OwnerIds;
|
||||||
LoLApiKey = cm.LoLApiKey;
|
LoLApiKey = cm.LoLApiKey;
|
||||||
GoogleApiKey = cm.GoogleApiKey;
|
GoogleApiKey = cm.GoogleApiKey;
|
||||||
|
MashapeKey = cm.MashapeKey;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
_log.Fatal("credentials.json is missing. Failed to start.");
|
_log.Fatal("credentials.json is missing. Failed to start.");
|
||||||
@ -45,6 +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 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