Browse Source

Minor edit

pull/22/merge
RogueException 9 years ago
parent
commit
9d504ea9c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Models/User.cs

+ 1
- 1
src/Discord.Net/Models/User.cs View File

@@ -87,7 +87,7 @@ namespace Discord
public bool IsServerSuppressed => (_voiceState & VoiceState.ServerSuppressed) != 0; public bool IsServerSuppressed => (_voiceState & VoiceState.ServerSuppressed) != 0;
/// <summary> Returns the time this user was last seen online in this server. </summary> /// <summary> Returns the time this user was last seen online in this server. </summary>
public DateTime? LastOnlineAt => Status != UserStatus.Offline ? DateTime.UtcNow : _lastOnline; public DateTime? LastOnlineAt => Status != UserStatus.Offline ? DateTime.UtcNow : _lastOnline;
/// <summary> Gets this user's </summary>
/// <summary> Gets this user's current voice channel. </summary>
public Channel VoiceChannel => _voiceChannelId != null ? Server.GetChannel(_voiceChannelId.Value) : null; public Channel VoiceChannel => _voiceChannelId != null ? Server.GetChannel(_voiceChannelId.Value) : null;
/// <summary> Gets the URL to this user's current avatar. </summary> /// <summary> Gets the URL to this user's current avatar. </summary>
public string AvatarUrl => GetAvatarUrl(Id, AvatarId); public string AvatarUrl => GetAvatarUrl(Id, AvatarId);


Loading…
Cancel
Save