Browse Source

Fixed documentation.

pull/1441/head
Neuheit 5 years ago
parent
commit
47d990c318
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/Discord.Net.WebSocket/BaseSocketClient.Events.cs
  2. +4
    -4
      src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs

+ 1
- 1
src/Discord.Net.WebSocket/BaseSocketClient.Events.cs View File

@@ -302,7 +302,7 @@ namespace Discord.WebSocket
internal readonly AsyncEvent<Func<SocketGuild, SocketGuild, Task>> _guildUpdatedEvent = new AsyncEvent<Func<SocketGuild, SocketGuild, Task>>();

//Invites
/// <summary> Fired when an invite is created.</summary
/// <summary> Fired when an invite is created.</summary>
public event Func<SocketInvite, Task> InviteCreated {
add { _inviteCreatedEvent.Add(value); }
remove { _inviteCreatedEvent.Remove(value); }


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

@@ -13,22 +13,22 @@ namespace Discord.WebSocket
public class SocketInvite : SocketEntity<string>
{
/// <summary>
/// Gets the channel in which this invite was created.
/// Gets the channel where this invite was created.
/// </summary>
public ISocketMessageChannel Channel { get; private set; }

/// <summary>
/// Gets the channel ID in which this invite was created.
/// Gets the channel ID where this invite was created.
/// </summary>
public ulong ChannelId { get; private set; }

/// <summary>
/// Gets the guild in which this invite was created.
/// Gets the guild where this invite was created.
/// </summary>
public IGuild Guild { get; private set; }

/// <summary>
/// Gets the guild ID in which this invite was created.
/// Gets the guild ID where this invite was created.
/// </summary>
public ulong GuildId { get; private set; }



Loading…
Cancel
Save