Changed snowflake GetCreatedAt() -> CreatedAt

This commit is contained in:
RogueException
2016-10-08 18:38:41 -03:00
parent c1effbc971
commit 21c38412ad
19 changed files with 29 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ namespace Discord.WebSocket
[DebuggerDisplay(@"{DebuggerDisplay,nq}")]
public abstract class SocketChannel : SocketEntity<ulong>, IChannel
{
public DateTimeOffset CreatedAt => DateTimeUtils.FromSnowflake(Id);
public IReadOnlyCollection<SocketUser> Users => GetUsersInternal();
internal SocketChannel(DiscordSocketClient discord, ulong id)