From 582b8f9637a8f0578a45cce8d87849c98a9e8dd8 Mon Sep 17 00:00:00 2001 From: RogueException Date: Wed, 26 Apr 2017 09:45:19 -0300 Subject: [PATCH] Added ChannelName/GuildName to IInvite --- src/Discord.Net.Core/Entities/Invites/IInvite.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Discord.Net.Core/Entities/Invites/IInvite.cs b/src/Discord.Net.Core/Entities/Invites/IInvite.cs index a023749c2..73555e453 100644 --- a/src/Discord.Net.Core/Entities/Invites/IInvite.cs +++ b/src/Discord.Net.Core/Entities/Invites/IInvite.cs @@ -13,10 +13,15 @@ namespace Discord IChannel Channel { get; } /// Gets the id of the channel this invite is linked to. ulong ChannelId { get; } + /// Gets the name of the channel this invite is linked to. + string ChannelName { get; } + /// Gets the guild this invite is linked to. IGuild Guild { get; } /// Gets the id of the guild this invite is linked to. ulong GuildId { get; } + /// Gets the name of the guild this invite is linked to. + string GuildName { get; } /// Accepts this invite and joins the target guild. This will fail on bot accounts. Task AcceptAsync(RequestOptions options = null);