diff --git a/src/handlers.rs b/src/handlers.rs index 3528341..28a1f73 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -99,7 +99,11 @@ impl serenity::client::EventHandler for Handler { if !is_watched { if let Some(ref thread_channel) = msg.thread { if let Some(parent_id) = thread_channel.parent_id { - if self.db.is_watched_channel(guild_id, parent_id).unwrap_or(false) { + if self + .db + .is_watched_channel(guild_id, parent_id) + .unwrap_or(false) + { // This message is in a thread whose parent is watched } else { return;