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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user