From a282cfd21737f20f1159c8d353c0b58aafc0cff5 Mon Sep 17 00:00:00 2001 From: Casino Boyale Date: Mon, 16 Jul 2018 16:45:37 +0100 Subject: [PATCH] Added RestInvite documentation --- src/Discord.Net.Rest/Entities/Invites/RestInvite.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Discord.Net.Rest/Entities/Invites/RestInvite.cs b/src/Discord.Net.Rest/Entities/Invites/RestInvite.cs index e498295cc..3800fc388 100644 --- a/src/Discord.Net.Rest/Entities/Invites/RestInvite.cs +++ b/src/Discord.Net.Rest/Entities/Invites/RestInvite.cs @@ -62,6 +62,12 @@ namespace Discord.Rest public Task DeleteAsync(RequestOptions options = null) => InviteHelper.DeleteAsync(this, Discord, options); + /// + /// Gets the URL of the invite. + /// + /// + /// A string that is the URL of the invite. + /// public override string ToString() => Url; private string DebuggerDisplay => $"{Url} ({GuildName} / {ChannelName})";