Browse Source

Added ChannelName/GuildName to IInvite

tags/1.0.0-rc2
RogueException 8 years ago
parent
commit
582b8f9637
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/Discord.Net.Core/Entities/Invites/IInvite.cs

+ 5
- 0
src/Discord.Net.Core/Entities/Invites/IInvite.cs View File

@@ -13,10 +13,15 @@ namespace Discord
IChannel Channel { get; }
/// <summary> Gets the id of the channel this invite is linked to. </summary>
ulong ChannelId { get; }
/// <summary> Gets the name of the channel this invite is linked to. </summary>
string ChannelName { get; }

/// <summary> Gets the guild this invite is linked to. </summary>
IGuild Guild { get; }
/// <summary> Gets the id of the guild this invite is linked to. </summary>
ulong GuildId { get; }
/// <summary> Gets the name of the guild this invite is linked to. </summary>
string GuildName { get; }

/// <summary> Accepts this invite and joins the target guild. This will fail on bot accounts. </summary>
Task AcceptAsync(RequestOptions options = null);


Loading…
Cancel
Save