mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
22 lines
545 B
C#
22 lines
545 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace NadekoBot.Services
|
|
{
|
|
public interface ICoordinator
|
|
{
|
|
bool RestartBot();
|
|
void Die();
|
|
bool RestartShard(int shardId);
|
|
IList<ShardStatus> GetAllShardStatuses();
|
|
int GetGuildCount();
|
|
}
|
|
|
|
public class ShardStatus
|
|
{
|
|
public Discord.ConnectionState ConnectionState { get; set; }
|
|
public DateTime LastUpdate { get; set; }
|
|
public int ShardId { get; set; }
|
|
public int GuildCount { get; set; }
|
|
}
|
|
} |