We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6154c commit eaf8230Copy full SHA for eaf8230
Sources/TelegramBot/Builders/BotBuilder.cs
@@ -38,10 +38,7 @@ public BotBuilder(params string[] args)
38
Services = new ServiceCollection();
39
var configuration = new ConfigurationManager();
40
configuration.AddCommandLine(args);
41
- if (Debugger.IsAttached)
42
- {
43
- configuration.AddJsonFile("appsettings.json", optional: true);
44
- }
+ configuration.AddJsonFile("appsettings.json", optional: true);
45
configuration.AddEnvironmentVariables();
46
Configuration = configuration;
47
Services.AddLogging(builder => builder.AddConsole());
0 commit comments