From 5417bdf7546c9e5049ab877de1efb5fc91c79636 Mon Sep 17 00:00:00 2001 From: maskers <97827489+maskersss@users.noreply.github.com> Date: Mon, 17 Feb 2025 17:59:55 +0300 Subject: [PATCH] Fix support channel detection (#513) * fix support channel detection * add `/` to `/tag log` --------- Co-authored-by: maskers <97827489+mskrss@users.noreply.github.com> --- src/handlers/event/support_onboard.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/event/support_onboard.rs b/src/handlers/event/support_onboard.rs index f2d2d5f..958c4fe 100644 --- a/src/handlers/event/support_onboard.rs +++ b/src/handlers/event/support_onboard.rs @@ -21,7 +21,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> { .name(ctx) .await .unwrap_or_default() - != "support" + != "community-support" { debug!("Not posting onboarding message to threads outside of support"); return Ok(()); @@ -34,7 +34,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> { let msg = format!( "<@{}> We've received your support ticket! {} {}", owner, - "Please upload your logs and post the link here if possible (run `tag log` to find out how).", + "Please upload your logs and post the link here if possible (run `/tag log` to find out how).", "Please don't ping people for support questions, unless you have their permission." );