This commit is contained in:
Chris Chen
2023-08-20 11:28:47 -07:00
parent 2c491b63de
commit ad0bc0e49b
78 changed files with 3640 additions and 5639 deletions
@@ -13,6 +13,7 @@ namespace WebAPI.Services.Interfaces
string Description { get; }
IEnumerable<string> Commands { get; }
string ReplyTextMessage { get; }
string ReplyJsonMessage { get; }
IEnumerable<DomainType> SupportGroups { get; }
IEnumerable<ILineMessage> LineMessage { get; }
bool Enabled(PastoralDomain pastoralDomain = null, string command = null);
@@ -8,6 +8,7 @@ namespace WebAPI.Services.Interfaces
{
public interface IScheduledTask
{
static DateTime? NextRunningTime { get; set; }
string Description { get; }
bool CheckTime(DateTime time);
Task<bool> RunTask();