Skip to content

Commit

Permalink
Correct flipped comments (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbt365 authored Oct 22, 2024
1 parent 525bd69 commit 4220891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structs/framework_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4220891

Please sign in to comment.