Gateway: Updated UserNotification for Channel user settings

This commit is contained in:
diamondburned (Forefront) 2020-03-26 17:04:14 -07:00
parent 86b1120875
commit 85f8b44e7e
1 changed files with 3 additions and 3 deletions

View File

@ -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.