From 0cf369d36a44768a28f9b2edd08fafe3023dc0fa Mon Sep 17 00:00:00 2001 From: Madpeter Date: Fri, 15 May 2020 23:33:32 +0100 Subject: [PATCH] new config value: Setting_loginURI leave this alone unless you know what its for ^+^ --- BSBshared/Json/JsonConfig.cs | 1 + BSBshared/Json/JsonConfigApi.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/BSBshared/Json/JsonConfig.cs b/BSBshared/Json/JsonConfig.cs index b064bb7..ba906b1 100644 --- a/BSBshared/Json/JsonConfig.cs +++ b/BSBshared/Json/JsonConfig.cs @@ -23,6 +23,7 @@ namespace BetterSecondBotShared.Json public bool Setting_LogCommands { get; set; } public string Setting_RelayImToAvatarUUID { get; set; } public string Setting_DefaultSit_UUID { get; set; } + public string Setting_loginURI { get; set; } // Discord Relay public string DiscordRelay_URL { get; set; } diff --git a/BSBshared/Json/JsonConfigApi.cs b/BSBshared/Json/JsonConfigApi.cs index d27dff0..76acb12 100644 --- a/BSBshared/Json/JsonConfigApi.cs +++ b/BSBshared/Json/JsonConfigApi.cs @@ -34,6 +34,7 @@ namespace BetterSecondBotShared.Json else if (cmd == "Setting_LogCommands") return "Allow the bot to send command to console and discord full if enabled"; else if (cmd == "Setting_RelayImToAvatarUUID") return "UUID of who the bot should relay IMs to in secondlife"; else if (cmd == "Setting_DefaultSit_UUID") return "UUID of a object the bot should attempt to sit on after logging in"; + else if (cmd == "Setting_loginURI") return "the URI to login to (leave as \"secondlife\" unless you know what your doing!)"; // Discord else if (cmd == "DiscordRelay_URL") return "The webhook URL to send group chat to"; else if (cmd == "DiscordRelay_GroupUUID") return "The group UUID to relay group chat for"; @@ -89,6 +90,7 @@ namespace BetterSecondBotShared.Json else if (cmd == "Setting_LogCommands") return "True"; else if (cmd == "Setting_RelayImToAvatarUUID") return ""; else if (cmd == "Setting_DefaultSit_UUID") return ""; + else if (cmd == "Setting_loginURI") return "secondlife"; // Discord else if (cmd == "DiscordRelay_URL") return ""; else if (cmd == "DiscordRelay_GroupUUID") return "";