NadekoBot/NadekoBot.Core/Common/ShardCom/ShardComMessage.cs

23 lines
555 B
C#
Raw Normal View History

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