From e9d472efcd60c93698941571d2948e4255c20e37 Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:29:37 +1000 Subject: [PATCH] support_onboard: fix fmt formatting issues --- src/handlers/event/support_onboard.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/handlers/event/support_onboard.rs b/src/handlers/event/support_onboard.rs index 6bc9197..cb3b40f 100644 --- a/src/handlers/event/support_onboard.rs +++ b/src/handlers/event/support_onboard.rs @@ -23,12 +23,12 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> { .unwrap_or_default() != "launcher-support" && thread - .parent_id - .ok_or_else(|| eyre!("Couldn't get parent ID from thread {}!", thread.name))? - .name(ctx) - .await - .unwrap_or_default() - != "mod-support" + .parent_id + .ok_or_else(|| eyre!("Couldn't get parent ID from thread {}!", thread.name))? + .name(ctx) + .await + .unwrap_or_default() + != "mod-support" { debug!("Not posting onboarding message to threads outside of support"); return Ok(());