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

@@ -51,6 +51,7 @@ namespace Discord.WebSocket
public string IconId { get; private set; }
public string SplashId { get; private set; }
public DateTimeOffset CreatedAt => DateTimeUtils.FromSnowflake(Id);
public ulong DefaultChannelId => Id;
public string IconUrl => API.CDN.GetGuildIconUrl(Id, IconId);
public string SplashUrl => API.CDN.GetGuildSplashUrl(Id, SplashId);