Gateway: Rename MessageNotifications to Notifications for consistency

This commit is contained in:
diamondburned 2020-12-19 19:22:35 -08:00
parent d5f3979f95
commit 088b304303
1 changed files with 6 additions and 6 deletions

View File

@ -99,7 +99,7 @@ type (
MuteConfig *UserMuteConfig `json:"mute_config"`
MobilePush bool `json:"mobile_push"`
MessageNotifications UserNotification `json:"message_notifications"`
Notifications UserNotification `json:"message_notifications"`
ChannelOverrides []UserChannelOverride `json:"channel_overrides"`
}
@ -109,7 +109,7 @@ type (
UserChannelOverride struct {
Muted bool `json:"muted"`
MuteConfig *UserMuteConfig `json:"mute_config"`
MessageNotifications UserNotification `json:"message_notifications"`
Notifications UserNotification `json:"message_notifications"`
ChannelID discord.ChannelID `json:"channel_id"`
}