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/move.js | |
| parent | ok (diff) | |
| download | modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.tar.xz modmail-7a133a9f72eede41d95eac171289a315c1ef41f6.zip | |
fix: fix formatting errors and neatness
Diffstat (limited to 'src/modules/move.js')
| -rw-r--r-- | src/modules/move.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/move.js b/src/modules/move.js index 973143d..cdfb781 100644 --- a/src/modules/move.js +++ b/src/modules/move.js @@ -41,7 +41,7 @@ module.exports = ({ bot, knex, config, commands }) => { }); if (containsRankings[0][1] === 0) { - thread.postSystemMessage('No matching category'); + thread.postSystemMessage('No matching category'.``); return; } @@ -52,7 +52,7 @@ module.exports = ({ bot, knex, config, commands }) => { parentID: targetCategory.id }); } catch (e) { - thread.postSystemMessage(`Failed to move thread: ${e.message}`); + thread.postSystemMessage(`Failed to move thread: ${e.message}.`); return; } @@ -72,11 +72,11 @@ module.exports = ({ bot, knex, config, commands }) => { permission_overwrites: newPerms }); } catch (e) { - thread.postSystemMessage(`Thread moved to ${targetCategory.name.toUpperCase()}, but failed to sync permissions: ${e.message}`); + thread.postSystemMessage(`Thread moved to ${targetCategory.name.toUpperCase()}, but failed to sync permissions: ${e.message}.`); return; } } - thread.postSystemMessage(`Thread moved to ${targetCategory.name.toUpperCase()}`); + thread.postSystemMessage(`Thread moved to ${targetCategory.name.toUpperCase()}.`); }); }; |