Skip to content

Commit 2eed823

Browse files
authored
Remove duplicate items from Guild.features' documentation (#3408)
1 parent 47556ef commit 2eed823

File tree

1 file changed

+4
-31
lines changed

1 file changed

+4
-31
lines changed

src/model/guild/mod.rs

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -154,37 +154,10 @@ pub struct Guild {
154154
/// All of the guild's custom emojis.
155155
#[serde(with = "emojis")]
156156
pub emojis: HashMap<EmojiId, Emoji>,
157-
/// The guild features. More information available at [`discord documentation`].
158-
///
159-
/// The following is a list of known features:
160-
/// - `ANIMATED_ICON`
161-
/// - `BANNER`
162-
/// - `COMMERCE`
163-
/// - `COMMUNITY`
164-
/// - `DISCOVERABLE`
165-
/// - `FEATURABLE`
166-
/// - `INVITE_SPLASH`
167-
/// - `MEMBER_VERIFICATION_GATE_ENABLED`
168-
/// - `MONETIZATION_ENABLED`
169-
/// - `MORE_STICKERS`
170-
/// - `NEWS`
171-
/// - `PARTNERED`
172-
/// - `PREVIEW_ENABLED`
173-
/// - `PRIVATE_THREADS`
174-
/// - `ROLE_ICONS`
175-
/// - `SEVEN_DAY_THREAD_ARCHIVE`
176-
/// - `THREE_DAY_THREAD_ARCHIVE`
177-
/// - `TICKETED_EVENTS_ENABLED`
178-
/// - `VANITY_URL`
179-
/// - `VERIFIED`
180-
/// - `VIP_REGIONS`
181-
/// - `WELCOME_SCREEN_ENABLED`
182-
/// - `THREE_DAY_THREAD_ARCHIVE`
183-
/// - `SEVEN_DAY_THREAD_ARCHIVE`
184-
/// - `PRIVATE_THREADS`
185-
///
186-
///
187-
/// [`discord documentation`]: https://discord.com/developers/docs/resources/guild#guild-object-guild-features
157+
/// The guild features. These are user-invisible options which are used for Discord rollouts
158+
/// and/or paid benefits. More information is available at [`discord's documentation`].
159+
///
160+
/// [`discord's documentation`]: https://discord.com/developers/docs/resources/guild#guild-object-guild-features
188161
pub features: Vec<String>,
189162
/// Indicator of whether the guild requires multi-factor authentication for [`Role`]s or
190163
/// [`User`]s with moderation permissions.

0 commit comments

Comments
 (0)