From 5600afe96adc5eb4613491935f475f552e6e0eed Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 21 Aug 2016 00:53:41 +0200 Subject: [PATCH] Mashape key now loading, ~# and ~ud sould work --- src/NadekoBot/Services/Impl/BotCredentials.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NadekoBot/Services/Impl/BotCredentials.cs b/src/NadekoBot/Services/Impl/BotCredentials.cs index 081c0555..405f4f2e 100644 --- a/src/NadekoBot/Services/Impl/BotCredentials.cs +++ b/src/NadekoBot/Services/Impl/BotCredentials.cs @@ -35,6 +35,7 @@ namespace NadekoBot.Services.Impl OwnerIds = cm.OwnerIds; LoLApiKey = cm.LoLApiKey; GoogleApiKey = cm.GoogleApiKey; + MashapeKey = cm.MashapeKey; } else _log.Fatal("credentials.json is missing. Failed to start."); @@ -45,6 +46,7 @@ namespace NadekoBot.Services.Impl public ulong[] OwnerIds { get; set; } public string LoLApiKey { get; set; } public string GoogleApiKey { get; set; } + public IEnumerable MashapeKey { get; set; } } public bool IsOwner(IUser u) => OwnerIds.Contains(u.Id);