From 9f39943b15f9d2de59270192c4a1ce7cd9037424 Mon Sep 17 00:00:00 2001 From: kozabrada123 <59031733+kozabrada123@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:07:56 +0200 Subject: [PATCH] Goof --- src/api/channels/channels.rs | 4 ++-- src/api/invites/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/channels/channels.rs b/src/api/channels/channels.rs index ba99a8f..bf2c48c 100644 --- a/src/api/channels/channels.rs +++ b/src/api/channels/channels.rs @@ -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 diff --git a/src/api/invites/mod.rs b/src/api/invites/mod.rs index 948a785..9492d8e 100644 --- a/src/api/invites/mod.rs +++ b/src/api/invites/mod.rs @@ -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