support_onboard: fix fmt formatting issues

This commit is contained in:
KTrain5369 2024-09-04 21:29:37 +10:00
parent c9a9e9af02
commit e9d472efcd
No known key found for this signature in database
GPG key ID: 57E5EE163B885D49

View file

@ -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(());