html terminal
Diffstat (limited to 'src/bot/trace.rs')
-rw-r--r--src/bot/trace.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bot/trace.rs b/src/bot/trace.rs
index f514169..174a871 100644
--- a/src/bot/trace.rs
+++ b/src/bot/trace.rs
@@ -43,8 +43,7 @@ pub async fn trace(
.map(|x| x.roles.clone())
.unwrap_or(vec![])
.iter()
- .find(|&&x| x == 1133416252791074877)
- .is_some(),
+ .any(|&x| x == 1133416252791074877),
_ => unreachable!(),
};
let mut r = poise::CreateReply::default().ephemeral(authorized);