Added ChannelName/GuildName to IInvite
This commit is contained in:
@@ -13,10 +13,15 @@ namespace Discord
|
|||||||
IChannel Channel { get; }
|
IChannel Channel { get; }
|
||||||
/// <summary> Gets the id of the channel this invite is linked to. </summary>
|
/// <summary> Gets the id of the channel this invite is linked to. </summary>
|
||||||
ulong ChannelId { get; }
|
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>
|
/// <summary> Gets the guild this invite is linked to. </summary>
|
||||||
IGuild Guild { get; }
|
IGuild Guild { get; }
|
||||||
/// <summary> Gets the id of the guild this invite is linked to. </summary>
|
/// <summary> Gets the id of the guild this invite is linked to. </summary>
|
||||||
ulong GuildId { get; }
|
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>
|
/// <summary> Accepts this invite and joins the target guild. This will fail on bot accounts. </summary>
|
||||||
Task AcceptAsync(RequestOptions options = null);
|
Task AcceptAsync(RequestOptions options = null);
|
||||||
|
|||||||
Reference in New Issue
Block a user