From 20b46811c0cfcac22b3bef6d99ac834190eb497d Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 3 Dec 2019 02:47:46 +0200 Subject: [PATCH] Slight wording changes in README. Use Modmail instead of ModMail consistently. --- README.md | 2 +- src/data/threads.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 517f954..e20aee2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Modmail for Discord -A bot for [Discord](https://discordapp.com/) that allows users to DM the bot to contact the server's moderators/staff +Modmail Bot is a bot for [Discord](https://discordapp.com/) that allows users to DM the bot to contact the server's moderators/staff without messaging them individually or pinging them publically on the server. These DMs get relayed to modmail *threads*, channels where staff members can reply to and talk with the user. To the user, the entire process happens in DMs with the bot. diff --git a/src/data/threads.js b/src/data/threads.js index 4275ef7..4353703 100644 --- a/src/data/threads.js +++ b/src/data/threads.js @@ -144,7 +144,7 @@ async function createNewThreadForUser(user, quiet = false, ignoreRequirements = // Attempt to create the inbox channel for this thread let createdChannel; try { - createdChannel = await utils.getInboxGuild().createChannel(channelName, null, 'New ModMail thread', newThreadCategoryId); + createdChannel = await utils.getInboxGuild().createChannel(channelName, null, 'New Modmail thread', newThreadCategoryId); } catch (err) { console.error(`Error creating modmail channel for ${user.username}#${user.discriminator}!`); throw err; @@ -226,7 +226,7 @@ async function createNewThreadForUser(user, quiet = false, ignoreRequirements = } } - // ModMail history / previous logs + // Modmail history / previous logs const userLogCount = await getClosedThreadCountByUserId(user.id); if (userLogCount > 0) { infoHeader += `\n\nThis user has **${userLogCount}** previous modmail threads. Use \`${config.prefix}logs\` to see them.`;