Skip to content

Commit

Permalink
ignore non-owner err
Browse files Browse the repository at this point in the history
  • Loading branch information
B-2U committed Apr 23, 2024
1 parent d78bc65 commit c4aa23b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ impl Default for DataInner {

async fn on_error(error: poise::FrameworkError<'_, Data, Error>) {
match error {
poise::FrameworkError::NotAnOwner { ctx: _ } => {}
poise::FrameworkError::CooldownHit {
remaining_cooldown,
ctx,
Expand Down

0 comments on commit c4aa23b

Please sign in to comment.