mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
remove sample environment configuration values, as they will fuck up defaults now
This commit is contained in:
@@ -140,8 +140,8 @@ namespace CompatBot
|
||||
inMemorySettings[nameof(Token)] = args[1];
|
||||
|
||||
config = new ConfigurationBuilder()
|
||||
.AddEnvironmentVariables() // lower priority
|
||||
.AddUserSecrets(Assembly.GetEntryAssembly())
|
||||
.AddUserSecrets(Assembly.GetEntryAssembly()) // lower priority
|
||||
.AddEnvironmentVariables()
|
||||
.AddInMemoryCollection(inMemorySettings) // higher priority
|
||||
.Build();
|
||||
Log = GetLog();
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
{
|
||||
"profiles": {
|
||||
"default": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"BotLogId": "",
|
||||
"BotSpamId": "",
|
||||
"BotAdminId": "",
|
||||
"BotChannelId": "",
|
||||
"BotRulesChannelId": "",
|
||||
"Token": ""
|
||||
}
|
||||
"commandName": "Project"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
{
|
||||
systemInfo += " | " + items["os_path"];
|
||||
if (items["os_windows_version"] is string winVer)
|
||||
systemInfo += " " + winVer + " or newer";
|
||||
systemInfo += " " + winVer;
|
||||
}
|
||||
systemInfo += $"{Environment.NewLine}{items["cpu_model"]} | {items["thread_count"]} Threads | {items["memory_amount"]} GiB RAM";
|
||||
if (!string.IsNullOrEmpty(items["cpu_extensions"]))
|
||||
|
||||
Reference in New Issue
Block a user