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/newthread.js | |
| parent | ok (diff) | |
| download | modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.tar.xz modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.zip | |
fix: fix formatting errors and neatness
Diffstat (limited to 'src/modules/newthread.js')
| -rw-r--r-- | src/modules/newthread.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/newthread.js b/src/modules/newthread.js index aca6f54..0b69741 100644 --- a/src/modules/newthread.js +++ b/src/modules/newthread.js @@ -11,13 +11,13 @@ module.exports = ({ bot, knex, config, commands }) => { const existingThread = await threads.findOpenThreadByUserId(user.id); if (existingThread) { - utils.postSystemMessageWithFallback(msg.channel, thread, `Cannot create a new thread; there is another open thread with this user: <#${existingThread.channel_id}>`); + utils.postSystemMessageWithFallback(msg.channel, thread, `Cannot create a new thread; there is another open thread with this user: <#${existingThread.channel_id}>.`); return; } const createdThread = await threads.createNewThreadForUser(user, true, true); - createdThread.postSystemMessage(`Thread was opened by ${msg.author.username}#${msg.author.discriminator}`); + createdThread.postSystemMessage(`Thread was opened by ${msg.author.username}#${msg.author.discriminator}.`); - msg.channel.createMessage(`Thread opened: <#${createdThread.channel_id}>`); + msg.channel.createMessage(`Thread opened: <#${createdThread.channel_id}>.`); }); }; |