2017-07-17 21:42:36 +02:00
|
|
|
|
using System;
|
|
|
|
|
using Discord;
|
2017-06-19 15:42:10 +02:00
|
|
|
|
|
2017-07-17 21:42:36 +02:00
|
|
|
|
namespace NadekoBot.Common.ShardCom
|
2017-06-19 15:42:10 +02:00
|
|
|
|
{
|
|
|
|
|
public class ShardComMessage
|
|
|
|
|
{
|
|
|
|
|
public int ShardId { get; set; }
|
|
|
|
|
public ConnectionState ConnectionState { get; set; }
|
|
|
|
|
public int Guilds { get; set; }
|
2017-07-05 15:16:06 +02:00
|
|
|
|
public DateTime Time { get; set; }
|
2017-10-29 04:46:42 +01:00
|
|
|
|
|
|
|
|
|
public ShardComMessage Clone() =>
|
|
|
|
|
new ShardComMessage
|
|
|
|
|
{
|
|
|
|
|
ShardId = ShardId,
|
|
|
|
|
ConnectionState = ConnectionState,
|
|
|
|
|
Guilds = Guilds,
|
|
|
|
|
Time = Time,
|
|
|
|
|
};
|
2017-06-19 15:42:10 +02:00
|
|
|
|
}
|
|
|
|
|
}
|