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

@@ -15,6 +15,7 @@ namespace Discord.WebSocket
public string Content { get; private set; }
public DateTimeOffset CreatedAt => DateTimeUtils.FromSnowflake(Id);
public virtual bool IsTTS => false;
public virtual bool IsPinned => false;
public virtual DateTimeOffset? EditedTimestamp => null;

View File

@@ -18,7 +18,7 @@ namespace Discord.WebSocket
private ImmutableArray<Attachment> _attachments;
private ImmutableArray<Embed> _embeds;
private ImmutableArray<ITag> _tags;
public override bool IsTTS => _isTTS;
public override bool IsPinned => _isPinned;
public override ulong? WebhookId => _webhookId;