support_onboard: check if bot has already joined thread

This commit is contained in:
seth 2024-03-03 18:46:34 -05:00
parent 915ef54dc3
commit cd1e3220c7
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
3 changed files with 32 additions and 5 deletions

View file

@ -28,7 +28,10 @@ const ETA_MESSAGES: [&str; 16] = [
pub async fn handle(ctx: &Context, message: &Message) -> Result<()> {
if !ETA_REGEX.is_match(&message.content) {
trace!("The message '{}' (probably) doesn't say ETA", message.content);
trace!(
"The message '{}' (probably) doesn't say ETA",
message.content
);
return Ok(());
}