You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/modules/helpchan.ts
+8-6
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ import {
26
26
dormantChannelLoop,
27
27
askHelpChannelId,
28
28
ongoingEmptyTimeout,
29
+
trustedRoleId,
29
30
}from'../env';
30
31
import{isTrustedMember}from'../util/inhibitors';
31
32
@@ -42,14 +43,15 @@ For more tips, check out StackOverflow's guide on **[asking good questions](http
42
43
`;
43
44
44
45
constoccupiedMessage=(asker: User)=>`
45
-
**This channel is claimed by ${asker.toString()}**
46
+
**This channel is claimed by ${asker.toString()}.**
47
+
It is dedicated to answering their questions only.
46
48
47
-
This channel is dedicated to answering their question only (and any of their follow-up questions). Others will try to answer and help solve the issue.
49
+
**${asker.toString()} You'll get better and faster answers if you:**
50
+
• Describe the context. What are you trying to accomplish?
51
+
• Copy-paste a short snippet (5-15 lines) that includes the problem. Start code blocks with \`\\\`\`ts for syntax highlighting.
52
+
• Try to reproduce your problem in the **[TypeScript Playground](https://www.typescriptlang.org/play)**.
48
53
49
-
**${asker.toString()}, keep in mind:**
50
-
• It's always ok to just ask your question. You don't need permission.
51
-
• Explain what you expect to happen and what actually happens.
52
-
• Include a code sample and error message, if you got any.
54
+
Usually someone will try to answer and help solve the issue within a few hours. If not, and you have followed the bullets above, you may ping the <@&${trustedRoleId}> role.
53
55
54
56
For more tips, check out StackOverflow's guide on **[asking good questions](https://stackoverflow.com/help/how-to-ask)**.
0 commit comments