support_onboard: fix fmt formatting issues
This commit is contained in:
parent
c9a9e9af02
commit
e9d472efcd
1 changed files with 6 additions and 6 deletions
|
@ -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(());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue