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

@@ -8,6 +8,8 @@ namespace Discord.Rest
{
public abstract class RestChannel : RestEntity<ulong>, IChannel, IUpdateable
{
public DateTimeOffset CreatedAt => DateTimeUtils.FromSnowflake(Id);
internal RestChannel(BaseDiscordClient discord, ulong id)
: base(discord, id)
{