mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-28 01:33:10 +00:00
Gateway: Rename MessageNotifications to Notifications for consistency
This commit is contained in:
parent
d5f3979f95
commit
088b304303
|
@ -98,8 +98,8 @@ type (
|
||||||
Muted bool `json:"muted"`
|
Muted bool `json:"muted"`
|
||||||
MuteConfig *UserMuteConfig `json:"mute_config"`
|
MuteConfig *UserMuteConfig `json:"mute_config"`
|
||||||
|
|
||||||
MobilePush bool `json:"mobile_push"`
|
MobilePush bool `json:"mobile_push"`
|
||||||
MessageNotifications UserNotification `json:"message_notifications"`
|
Notifications UserNotification `json:"message_notifications"`
|
||||||
|
|
||||||
ChannelOverrides []UserChannelOverride `json:"channel_overrides"`
|
ChannelOverrides []UserChannelOverride `json:"channel_overrides"`
|
||||||
}
|
}
|
||||||
|
@ -107,10 +107,10 @@ type (
|
||||||
// A UserChannelOverride struct describes a channel settings override for a
|
// A UserChannelOverride struct describes a channel settings override for a
|
||||||
// users guild settings.
|
// users guild settings.
|
||||||
UserChannelOverride struct {
|
UserChannelOverride struct {
|
||||||
Muted bool `json:"muted"`
|
Muted bool `json:"muted"`
|
||||||
MuteConfig *UserMuteConfig `json:"mute_config"`
|
MuteConfig *UserMuteConfig `json:"mute_config"`
|
||||||
MessageNotifications UserNotification `json:"message_notifications"`
|
Notifications UserNotification `json:"message_notifications"`
|
||||||
ChannelID discord.ChannelID `json:"channel_id"`
|
ChannelID discord.ChannelID `json:"channel_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserMuteConfig seems to describe the mute settings. It belongs to the
|
// UserMuteConfig seems to describe the mute settings. It belongs to the
|
||||||
|
|
Loading…
Reference in a new issue