This commit is contained in:
kozabrada123 2023-07-31 10:07:56 +02:00
parent 60393a5686
commit 261ae6eb4a
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ impl Channel {
/// 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.
///
/// # Reference
@ -50,7 +50,7 @@ impl Channel {
/// Modifies a channel with the provided data.
/// 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.
/// 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.
///
/// # 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
/// See <https://discord-userdoccers.vercel.app/resources/invite#create-channel-invite>