Browse Source

Added GUILD_EMOJIS_UPDATE placeholder

tags/docs-0.9
RogueException 9 years ago
parent
commit
c3d28ee5b1
3 changed files with 10 additions and 0 deletions
  1. +3
    -0
      src/Discord.Net.Net45/Discord.Net.csproj
  2. +4
    -0
      src/Discord.Net/API/Client/GatewaySocket/Events/GuildEmojisUpdate.cs
  3. +3
    -0
      src/Discord.Net/DiscordClient.cs

+ 3
- 0
src/Discord.Net.Net45/Discord.Net.csproj View File

@@ -158,6 +158,9 @@
<Compile Include="..\Discord.Net\API\Client\GatewaySocket\Events\GuildDelete.cs">
<Link>API\Client\GatewaySocket\Events\GuildDelete.cs</Link>
</Compile>
<Compile Include="..\Discord.Net\API\Client\GatewaySocket\Events\GuildEmojisUpdate.cs">
<Link>API\Client\GatewaySocket\Events\GuildEmojisUpdate.cs</Link>
</Compile>
<Compile Include="..\Discord.Net\API\Client\GatewaySocket\Events\GuildIntegrationsUpdate.cs">
<Link>API\Client\GatewaySocket\Events\GuildIntegrationsUpdate.cs</Link>
</Compile>


+ 4
- 0
src/Discord.Net/API/Client/GatewaySocket/Events/GuildEmojisUpdate.cs View File

@@ -0,0 +1,4 @@
namespace Discord.API.Client.GatewaySocket.Events
{
//public sealed class GuildEmojisUpdate { }
}

+ 3
- 0
src/Discord.Net/DiscordClient.cs View File

@@ -445,6 +445,7 @@ namespace Discord
}
#endregion

#region Gateway Events
private void OnReceivedEvent(WebSocketEventEventArgs e)
{
try
@@ -886,6 +887,7 @@ namespace Discord
case "USER_SETTINGS_UPDATE":
case "GUILD_INTEGRATIONS_UPDATE":
case "VOICE_SERVER_UPDATE":
case "GUILD_EMOJIS_UPDATE":
break;

case "RESUMED": //Handled in DataWebSocket
@@ -902,6 +904,7 @@ namespace Discord
Logger.Error($"Error handling {e.Type} event", ex);
}
}
#endregion

#region Async Wrapper
/// <summary> Blocking call that will not return until client has been stopped. This is mainly intended for use in console applications. </summary>


Loading…
Cancel
Save