diff options
| author | Sin-MacBook <[email protected]> | 2020-08-12 10:21:18 +0200 |
|---|---|---|
| committer | Sin-MacBook <[email protected]> | 2020-08-12 10:21:18 +0200 |
| commit | 7a133a9f72eede41d95eac171289a315c1ef41f6 (patch) | |
| tree | 03b6d6aa43281d498e4dae31906abf4a86ddb100 /src/modules/close.js | |
| parent | ok (diff) | |
| download | modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.tar.xz modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.zip | |
fix: fix formatting errors and neatness
Diffstat (limited to 'src/modules/close.js')
| -rw-r--r-- | src/modules/close.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/close.js b/src/modules/close.js index b3e7421..99889a9 100644 --- a/src/modules/close.js +++ b/src/modules/close.js @@ -20,8 +20,8 @@ module.exports = ({ bot, knex, config, commands }) => { const logUrl = await thread.getLogUrl(); utils.postLog(utils.trimAll(` - Modmail thread with ${thread.user_name} (${thread.user_id}) was closed as scheduled by ${thread.scheduled_close_name} - Logs: ${logUrl} + Modmail thread with ${thread.user_name} (${thread.user_id}) was closed as scheduled by ${thread.scheduled_close_name}. + Logs: ${logUrl}. `)); } } @@ -74,7 +74,7 @@ module.exports = ({ bot, knex, config, commands }) => { // Cancel timed close if (thread.scheduled_close_at) { await thread.cancelScheduledClose(); - thread.postSystemMessage(`Cancelled scheduled closing`); + thread.postSystemMessage(`Cancelled scheduled closing.`); } return; @@ -123,7 +123,7 @@ module.exports = ({ bot, knex, config, commands }) => { const logUrl = await thread.getLogUrl(); utils.postLog(utils.trimAll(` - Modmail thread with ${thread.user_name} (${thread.user_id}) was closed by ${closedBy} + Modmail thread with ${thread.user_name} (${thread.user_id}) was closed by ${closedBy}. Logs: ${logUrl} `)); }); @@ -146,7 +146,7 @@ module.exports = ({ bot, knex, config, commands }) => { const logUrl = await thread.getLogUrl(); utils.postLog(utils.trimAll(` - Modmail thread with ${thread.user_name} (${thread.user_id}) was closed automatically because the channel was deleted + Modmail thread with ${thread.user_name} (${thread.user_id}) was closed automatically because the channel was deleted. Logs: ${logUrl} `)); }); |