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.`;