Update bot to use new versioning scheme and add a automatic relog trigger after a number of hours
This commit is contained in:
parent
69f0507e0f
commit
a50237304d
4 changed files with 28 additions and 4 deletions
|
@ -5,6 +5,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
using OpenMetaverse;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Bot
|
||||
{
|
||||
|
@ -55,6 +56,9 @@ namespace Bot
|
|||
|
||||
public string GitPassword { get; set; } = "NOT_SET";
|
||||
|
||||
[JsonProperty(PropertyName = "RelogAfter")]
|
||||
public double AutoRelogAfterHours = 12;
|
||||
|
||||
public int WebServerPort { get; set; } = 35591;
|
||||
|
||||
public Dictionary<UUID, int> BotAdmins { get; set; } = new Dictionary<UUID, int>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue