From 46dadda759ce3ea17162accd715bd3d98276c2eb Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 15 Nov 2016 09:55:10 +0100 Subject: [PATCH] Env vars now have to start with NadekoBot_ --- src/NadekoBot/Services/Impl/BotCredentials.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Services/Impl/BotCredentials.cs b/src/NadekoBot/Services/Impl/BotCredentials.cs index 8faf74b7..de3362bf 100644 --- a/src/NadekoBot/Services/Impl/BotCredentials.cs +++ b/src/NadekoBot/Services/Impl/BotCredentials.cs @@ -45,7 +45,7 @@ namespace NadekoBot.Services.Impl { var configBuilder = new ConfigurationBuilder(); configBuilder.AddJsonFile(credsFileName) - .AddEnvironmentVariables("NadekoBot:"); + .AddEnvironmentVariables("NadekoBot_"); var data = configBuilder.Build();