@@ -41,12 +41,12 @@ This channel will be dedicated to answering your question only. Others will try
41
41
For more tips, check out StackOverflow's guide on **[asking good questions](https://stackoverflow.com/help/how-to-ask)**.
42
42
` ;
43
43
44
- const occupiedMessage = ( tag : string ) => `
45
- **This channel is claimed by @ ${ tag } **
44
+ const occupiedMessage = ( asker : User ) => `
45
+ **This channel is claimed by ${ asker . toString ( ) } **
46
46
47
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.
48
48
49
- **To @ ${ tag } , keep in mind:**
49
+ **To ${ asker . toString ( ) } , keep in mind:**
50
50
• It's always ok to just ask your question. You don't need permission.
51
51
• Explain what you expect to happen and what actually happens.
52
52
• Include a code sample and error message, if you got any.
@@ -83,11 +83,11 @@ export class HelpChanModule extends Module {
83
83
84
84
occupiedEmbed ( asker : User ) {
85
85
return new MessageEmbed ( this . OCCUPIED_EMBED_BASE )
86
- . setDescription ( occupiedMessage ( asker . tag ) )
86
+ . setDescription ( occupiedMessage ( asker ) )
87
87
. setFooter (
88
88
`Closes after ${
89
89
dormantChannelTimeout / 60 / 60 / 1000
90
- } hours of inactivity or when ${ asker . username } sends !close.`,
90
+ } hours of inactivity or when ${ asker . toString ( ) } sends !close.`,
91
91
) ;
92
92
}
93
93
0 commit comments