Fix support channel detection (#513)
* fix support channel detection * add `/` to `/tag log` --------- Co-authored-by: maskers <97827489+mskrss@users.noreply.github.com>
This commit is contained in:
parent
66c768279c
commit
5417bdf754
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> {
|
||||||
.name(ctx)
|
.name(ctx)
|
||||||
.await
|
.await
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
!= "support"
|
!= "community-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(());
|
||||||
|
@ -34,7 +34,7 @@ pub async fn handle(ctx: &Context, thread: &GuildChannel) -> Result<()> {
|
||||||
let msg = format!(
|
let msg = format!(
|
||||||
"<@{}> We've received your support ticket! {} {}",
|
"<@{}> We've received your support ticket! {} {}",
|
||||||
owner,
|
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."
|
"Please don't ping people for support questions, unless you have their permission."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue