File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,12 @@ export class HelpThreadModule extends Module {
150
150
this . manuallyArchivedThreads . delete ( thread . id )
151
151
)
152
152
return ;
153
+ const threadData = ( await HelpThread . findOne ( thread . id ) ) ! ;
153
154
console . log ( `Help thread expired:` , thread ) ;
154
- await thread . send ( { embeds : [ threadExpireEmbed ] } ) ;
155
+ await thread . send ( {
156
+ content : `<@${ threadData . ownerId } >` ,
157
+ embeds : [ threadExpireEmbed ] ,
158
+ } ) ;
155
159
this . manuallyArchivedThreads . add ( thread . id ) ;
156
160
await this . archiveThread ( thread ) ;
157
161
}
@@ -181,6 +185,7 @@ export class HelpThreadModule extends Module {
181
185
await msg . react ( '✅' ) ;
182
186
if ( ! isOwner )
183
187
await msg . channel . send ( {
188
+ content : `<@${ threadData . ownerId } >` ,
184
189
embeds : [ helperCloseEmbed ( msg . member ! ) ] ,
185
190
} ) ;
186
191
this . manuallyArchivedThreads . add ( thread . id ) ;
You can’t perform that action at this time.
0 commit comments