Modified the version of the Divine clicker to work for the new soul sworn chests. 24h timers are ridiculous
so this is the solution I needed to be able to use it every day. It needs some work I think. so suggestions are encouraged.

Code:
using System;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace SoulSwornChestClicker {
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "Cursed";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "Click Soul Sworn Chests on cooldown.";
}
//Call on plugin start
public void PluginRun()
{
ClearLogs();
while (gameState != GameState.Ingame)
{
Thread.Sleep(10000);
}
while (gameState == GameState.Ingame || gameState == GameState.LoadingGameWorld)
{
var matchingItem = getAllInvItems().FirstOrDefault(item => item.name.Contains("Soul Sworn Chest"));
if (matchingItem != null)
{
var cooldownMilliseconds = itemCooldown(matchingItem.name);
var cooldownSeconds = cooldownMilliseconds/1000;
var cooldownMinutes = cooldownSeconds/60;
if (cooldownMilliseconds == 0)
{
Log(string.Format("Item {0} is ready! Using item...", matchingItem.name));
UseItem(matchingItem.name);
//Give time to use item.
Thread.Sleep(5000);
}
else
{
Log(string.Format("Found item {0} - Sleeping for {1} minutes", matchingItem.name, cooldownMinutes));
Thread.Sleep(Convert.ToInt32(cooldownMilliseconds) + 5000);
}
}
else
{
Log("No Sworn Chest Found. Exiting");
break;
}
}
}
//Call on plugin stop
public void PluginStop()
{
}
}
}