From 7a133a9f72eede41d95eac171289a315c1ef41f6 Mon Sep 17 00:00:00 2001 From: Sin-MacBook Date: Wed, 12 Aug 2020 10:21:18 +0200 Subject: fix: fix formatting errors and neatness --- src/modules/newthread.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/newthread.js') 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}>.`); }); }; -- cgit v1.2.3