Added GUILD_EMOJIS_UPDATE placeholder

This commit is contained in:
RogueException
2015-12-24 19:27:18 -04:00
parent 340e5dcb80
commit c3d28ee5b1
3 changed files with 10 additions and 0 deletions

View File

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

View File

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

View File

@@ -445,6 +445,7 @@ namespace Discord
} }
#endregion #endregion
#region Gateway Events
private void OnReceivedEvent(WebSocketEventEventArgs e) private void OnReceivedEvent(WebSocketEventEventArgs e)
{ {
try try
@@ -886,6 +887,7 @@ namespace Discord
case "USER_SETTINGS_UPDATE": case "USER_SETTINGS_UPDATE":
case "GUILD_INTEGRATIONS_UPDATE": case "GUILD_INTEGRATIONS_UPDATE":
case "VOICE_SERVER_UPDATE": case "VOICE_SERVER_UPDATE":
case "GUILD_EMOJIS_UPDATE":
break; break;
case "RESUMED": //Handled in DataWebSocket case "RESUMED": //Handled in DataWebSocket
@@ -902,6 +904,7 @@ namespace Discord
Logger.Error($"Error handling {e.Type} event", ex); Logger.Error($"Error handling {e.Type} event", ex);
} }
} }
#endregion
#region Async Wrapper #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> /// <summary> Blocking call that will not return until client has been stopped. This is mainly intended for use in console applications. </summary>