@@ -264,7 +264,7 @@ pub struct Guild {
264264 /// The stage instances in this guild.
265265 #[ serde( rename = "guild_scheduled_events" ) ]
266266 pub scheduled_events : Vec < ScheduledEvent > ,
267- /// the id of the channel where this guild will recieve safety alerts.
267+ /// The id of the channel where this guild will recieve safety alerts.
268268 pub safety_alerts_channel_id : Option < ChannelId > ,
269269 /// The incidents data for this guild, if any.
270270 pub incidents_data : Option < IncidentsData > ,
@@ -2626,13 +2626,17 @@ impl Guild {
26262626
26272627 /// Edits the guild incident actions
26282628 ///
2629+ /// **Note**: Requires the [Manage Guild] permission.
2630+ ///
2631+ /// [Manage Guild]: Permissions::MANAGE_GUILD
2632+ ///
26292633 /// # Errors
26302634 ///
26312635 /// Returns [`Error::Http`] if invalid data is given. See [Discord's docs] for more details.
26322636 ///
26332637 /// May also return [`Error::Json`] if there is an error in deserializing the API response.
26342638 ///
2635- /// [Discord's docs]: https://github .com/discord/discord-api- docs/pull/6396
2639+ /// [Discord's docs]: https://discord .com/developers/ docs/resources/guild#modify-guild-incident-actions
26362640 pub async fn edit_guild_incident_actions (
26372641 self ,
26382642 http : & Http ,
@@ -2964,7 +2968,7 @@ enum_number! {
29642968
29652969/// The [`Guild`]'s incident's data.
29662970///
2967- /// [Discord docs](https://github .com/discord/discord-api- docs/pull/6396 ).
2971+ /// [Discord docs](https://discord .com/developers/ docs/resources/guild#incidents-data-object ).
29682972#[ derive( Clone , Copy , Debug , Deserialize , Serialize ) ]
29692973#[ cfg_attr( feature = "typesize" , derive( typesize:: derive:: TypeSize ) ) ]
29702974#[ non_exhaustive]
0 commit comments