Skip to content

Commit

Permalink
Include new documentation on invite event permissions (serenity-rs#2454)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio authored and mkrasnitski committed Sep 21, 2023
1 parent df4f650 commit 31fe3b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ pub struct GuildStickersUpdateEvent {
pub guild_id: GuildId,
}

/// Requires [`GatewayIntents::GUILD_INVITES`].
/// Requires [`GatewayIntents::GUILD_INVITES`] and [`Permissions::MANAGE_CHANNELS´] permission.
///
/// [Discord docs](https://discord.com/developers/docs/topics/gateway-events#invite-create).
#[derive(Clone, Debug, Deserialize, Serialize)]
Expand Down Expand Up @@ -393,7 +393,7 @@ pub struct InviteCreateEvent {
pub uses: u64,
}

/// Requires [`GatewayIntents::GUILD_INVITES`].
/// Requires [`GatewayIntents::GUILD_INVITES`] and [`Permissions::MANAGE_CHANNELS´] permission.
///
/// [Discord docs](https://discord.com/developers/docs/topics/gateway-events#invite-delete).
#[derive(Clone, Debug, Deserialize, Serialize)]
Expand Down

0 comments on commit 31fe3b7

Please sign in to comment.