File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class ConfigManager:
57
57
"thread_close_title" : "Thread Closed" ,
58
58
"thread_close_response" : "{closer.mention} has closed this Modmail thread." ,
59
59
"thread_self_close_response" : "You have closed this Modmail thread." ,
60
+ "thread_move_title" : "Thread Moved" ,
60
61
"thread_move_notify" : False ,
61
62
"thread_move_response" : "This thread has been moved." ,
62
63
"disabled_new_thread_title" : "Not Delivered" ,
Original file line number Diff line number Diff line change 350
350
" See also: `thread_close_title`, `thread_close_footer`, `thread_close_response`."
351
351
]
352
352
},
353
+ "thread_move_title" : {
354
+ "default" : " Thread Moved" ,
355
+ "description" : " The title of the message embed when a thread is moved." ,
356
+ "examples" : [
357
+ " `{prefix}config set thread_move_title Thread transferred to another channel!"
358
+ ],
359
+ "notes" : [
360
+ " See also: `thread_move_notify`, `thread_move_response`."
361
+ ]
362
+ },
353
363
"thread_move_notify" : {
354
364
"default" : " No" ,
355
365
"description" : " Notify the recipient if the thread was moved." ,
358
368
" `{prefix}config set thread_move_notify no`"
359
369
],
360
370
"notes" : [
361
- " See also: `thread_move_response`."
371
+ " See also: `thread_move_title`, ` thread_move_response`."
362
372
]
363
373
},
364
374
"thread_move_response" : {
369
379
],
370
380
"notes" : [
371
381
" Only has an effect when `thread_move_notify` is on." ,
372
- " See also: `thread_move_notify`."
382
+ " See also: `thread_move_title`, ` thread_move_notify`."
373
383
]
374
384
},
375
385
"disabled_new_thread_title" : {
Original file line number Diff line number Diff line change @@ -341,9 +341,9 @@ async def _close(
341
341
sneak_peak = "No content"
342
342
343
343
if self .channel .nsfw :
344
- _nsfw = ' NSFW-'
344
+ _nsfw = " NSFW-"
345
345
else :
346
- _nsfw = ''
346
+ _nsfw = ""
347
347
348
348
desc = f"[`{ _nsfw } { log_data ['key' ]} `]({ log_url } ): "
349
349
desc += truncate (sneak_peak , max = 75 - 13 )
You can’t perform that action at this time.
0 commit comments