Browse Source

missing properties for SocketInvite

pull/1639/head
Fyers 4 years ago
parent
commit
e690b364ed
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs

+ 5
- 3
src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs View File

@@ -48,8 +48,8 @@ namespace Discord.WebSocket
int? IInvite.PresenceCount => throw new NotImplementedException();
/// <inheritdoc />
int? IInvite.MemberCount => throw new NotImplementedException();
/// <inheritdoc />
bool IInviteMetadata.IsRevoked => throw new NotImplementedException();
[Obsolete("This will always return false. If an invite is revoked, it will not be found and the invite will be null.")]
bool IInviteMetadata.IsRevoked => false;
/// <inheritdoc />
public bool IsTemporary { get; private set; }
/// <inheritdoc />
@@ -138,6 +138,8 @@ namespace Discord.WebSocket
/// <inheritdoc />
IChannel IInvite.Channel => Channel;
/// <inheritdoc />
IUser IInviteMetadata.Inviter => Inviter;
IUser IInvite.Inviter => Inviter;
/// <inheritdoc />
IUser IInvite.TargetUser => TargetUser;
}
}

Loading…
Cancel
Save