This commit is contained in:
kozabrada123 2023-07-31 10:07:56 +02:00
parent 4e4e279333
commit 9f39943b15
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ impl Channel {
/// Deletes self. /// Deletes self.
/// ///
/// Requires the [`MANAGE_CHANNEL`](crate::types::PermissionFlags::MANAGE_CHANNEL) permission in a guild, or /// Requires the [`MANAGE_CHANNELS`](crate::types::PermissionFlags::MANAGE_CHANNELS) permission in a guild, or
/// the [`MANAGE_THREADS`](crate::types::PermissionFlags::MANAGE_THREADS) permission if the channel is a thread. /// the [`MANAGE_THREADS`](crate::types::PermissionFlags::MANAGE_THREADS) permission if the channel is a thread.
/// ///
/// # Reference /// # Reference
@ -50,7 +50,7 @@ impl Channel {
/// Modifies a channel with the provided data. /// Modifies a channel with the provided data.
/// Returns the new Channel. /// Returns the new Channel.
/// ///
/// Requires the [`MANAGE_CHANNEL`](crate::types::PermissionFlags::MANAGE_CHANNEL) permission in a guild. /// Requires the [`MANAGE_CHANNELS`](crate::types::PermissionFlags::MANAGE_CHANNELS) permission in a guild.
/// ///
/// If modifying permission overwrites, the [`MANAGE_ROLES`](crate::types::PermissionFlags::MANAGE_ROLES) permission is required. /// If modifying permission overwrites, the [`MANAGE_ROLES`](crate::types::PermissionFlags::MANAGE_ROLES) permission is required.
/// Only permissions you have in the guild or parent channel (if applicable) can be allowed/denied /// Only permissions you have in the guild or parent channel (if applicable) can be allowed/denied

View File

@ -60,7 +60,7 @@ impl UserMeta {
/// Creates a new invite for a guild channel or group DM. /// Creates a new invite for a guild channel or group DM.
/// ///
/// # Guild Channels /// # Guild Channels
/// For guild channels, the endpoint requires the [`CREATE_INSTANT_INVITE`](crate::types::PermissionFlags::CRATE_INSTANT_INVITE) permission. /// For guild channels, the endpoint requires the [`CREATE_INSTANT_INVITE`](crate::types::PermissionFlags::CREATE_INSTANT_INVITE) permission.
/// ///
/// # Reference /// # Reference
/// See <https://discord-userdoccers.vercel.app/resources/invite#create-channel-invite> /// See <https://discord-userdoccers.vercel.app/resources/invite#create-channel-invite>