Skip to content

Commit 5417bdf

Browse files
authored
Fix support channel detection (#513)
* fix support channel detection * add `/` to `/tag log` --------- Co-authored-by: maskers <[email protected]>
1 parent 66c7682 commit 5417bdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers/event/support_onboard.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> {
2121
.name(ctx)
2222
.await
2323
.unwrap_or_default()
24-
!= "support"
24+
!= "community-support"
2525
{
2626
debug!("Not posting onboarding message to threads outside of support");
2727
return Ok(());
@@ -34,7 +34,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> {
3434
let msg = format!(
3535
"<@{}> We've received your support ticket! {} {}",
3636
owner,
37-
"Please upload your logs and post the link here if possible (run `tag log` to find out how).",
37+
"Please upload your logs and post the link here if possible (run `/tag log` to find out how).",
3838
"Please don't ping people for support questions, unless you have their permission."
3939
);
4040

0 commit comments

Comments
 (0)