From 93cf4ac660d853cecbc2e0f17295a281a7fa6a12 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 28 Nov 2016 09:37:04 -0600 Subject: [PATCH] bugfix - private_channels is a list of channels, not guilds (derp) --- disco/gateway/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/gateway/events.py b/disco/gateway/events.py index 1b4b0b6..48e62ef 100644 --- a/disco/gateway/events.py +++ b/disco/gateway/events.py @@ -126,7 +126,7 @@ class Ready(GatewayEvent): session_id = Field(str) user = Field(User) guilds = ListField(Guild) - private_channels = ListField(Guild) + private_channels = ListField(Channel) class Resumed(GatewayEvent):