From 85f8b44e7e970c66caefebab064325b498870395 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Thu, 26 Mar 2020 17:04:14 -0700 Subject: [PATCH] Gateway: Updated UserNotification for Channel user settings --- gateway/ready.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gateway/ready.go b/gateway/ready.go index 6680728..9a0cb31 100644 --- a/gateway/ready.go +++ b/gateway/ready.go @@ -99,10 +99,10 @@ type ReadState struct { // A UserGuildSettingsChannelOverride stores data for a channel override for a // users guild settings. type SettingsChannelOverride struct { - Muted bool `json:"muted"` - MessageNotifications int `json:"message_notifications"` // TODO: document + Muted bool `json:"muted"` - ChannelID discord.Snowflake `json:"channel_id"` + MessageNotifications UserNotification `json:"message_notifications"` + ChannelID discord.Snowflake `json:"channel_id"` } // GuildFolder holds a single folder that you see in the left guild panel.