GuildConfig is the active per-guild notification configuration.
| 86 | |
| 87 | // GuildConfig is the active per-guild notification configuration. |
| 88 | type GuildConfig struct { |
| 89 | GuildID int64 `json:"guild_id"` |
| 90 | ChannelID *int64 `json:"channel_id,omitempty"` |
| 91 | ThreadID *int64 `json:"thread_id,omitempty"` |
| 92 | ShownAssets bool `json:"shown_assets"` |
| 93 | Locale string `json:"locale"` |
| 94 | MentionRoleID *int64 `json:"mention_role_id,omitempty"` |
| 95 | Enabled bool `json:"enabled"` |
| 96 | IncludeImages bool `json:"include_images"` |
| 97 | } |
| 98 | |
| 99 | // UserProfile stores per-user DM notification preferences. |
| 100 | type UserProfile struct { |
nothing calls this directly
no outgoing calls
no test coverage detected