Browse Source

Ignore CHANNEL_PINS_UPDATE

This gateway event is raised when a message in a GuildChannel is pinned or unpinned. Unfortunately, this event only contains a timestamp of when the pin was changed, making it effectively useless. As a result, it will be dropped.

Resolves #135
tags/1.0-rc
Christopher F 8 years ago
parent
commit
de7e59e1b7
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/Discord.Net/DiscordSocketClient.cs

+ 5
- 0
src/Discord.Net/DiscordSocketClient.cs View File

@@ -799,6 +799,11 @@ namespace Discord
}
}
break;
case "CHANNEL_PINS_UPDATE":
{
await _gatewayLogger.DebugAsync("Ignored Disbatch (CHANNEL_PINS_UPDATE)");
}
break;
case "CHANNEL_DELETE":
{
await _gatewayLogger.DebugAsync("Received Dispatch (CHANNEL_DELETE)").ConfigureAwait(false);


Loading…
Cancel
Save