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()
|
.unwrap_or_default()
|
||||||
!= "launcher-support"
|
!= "launcher-support"
|
||||||
&& thread
|
&& thread
|
||||||
.parent_id
|
.parent_id
|
||||||
.ok_or_else(|| eyre!("Couldn't get parent ID from thread {}!", thread.name))?
|
.ok_or_else(|| eyre!("Couldn't get parent ID from thread {}!", thread.name))?
|
||||||
.name(ctx)
|
.name(ctx)
|
||||||
.await
|
.await
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
!= "mod-support"
|
!= "mod-support"
|
||||||
{
|
{
|
||||||
debug!("Not posting onboarding message to threads outside of support");
|
debug!("Not posting onboarding message to threads outside of support");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue