diff --git a/src/structs/framework_error.rs b/src/structs/framework_error.rs index 5f5f2cf91d5..9141d7ce4ce 100644 --- a/src/structs/framework_error.rs +++ b/src/structs/framework_error.rs @@ -98,7 +98,7 @@ pub enum FrameworkError<'a, U, E> { ctx: crate::Context<'a, U, E>, }, /// Command was invoked but the bot is lacking the permissions specified in - /// [`crate::Command::required_permissions`] + /// [`crate::Command::required_bot_permissions`] #[non_exhaustive] MissingBotPermissions { /// Which permissions in particular the bot is lacking for this command @@ -107,7 +107,7 @@ pub enum FrameworkError<'a, U, E> { ctx: crate::Context<'a, U, E>, }, /// Command was invoked but the user is lacking the permissions specified in - /// [`crate::Command::required_bot_permissions`] + /// [`crate::Command::required_permissions`] #[non_exhaustive] MissingUserPermissions { /// List of permissions that the user is lacking. May be None if retrieving the user's