master
Miikka Virtanen 2017-08-03 22:03:39 +03:00
parent c330caf249
commit d0bad2d6b3
1 changed files with 2 additions and 2 deletions

View File

@ -150,9 +150,9 @@ Here's what their message contained:
const accountAge = humanizeDuration(Date.now() - msg.author.createdAt, {largest: 2}); const accountAge = humanizeDuration(Date.now() - msg.author.createdAt, {largest: 2});
const infoHeader = `ACCOUNT AGE **${accountAge}**, ID **${msg.author.id}**, NICKNAME **${mainGuildNickname}**, LOGS **${userLogs.length}**\n-------------------------------`; const infoHeader = `ACCOUNT AGE **${accountAge}**, ID **${msg.author.id}**, NICKNAME **${mainGuildNickname}**, LOGS **${userLogs.length}**\n-------------------------------`;
return bot.createMessage(thread.channelId, infoHeader).then(() => { threadInitDonePromise = bot.createMessage(thread.channelId, infoHeader).then(() => {
// Ping mods of the new thread // Ping mods of the new thread
bot.createMessage(thread.channelId, { return bot.createMessage(thread.channelId, {
content: `@here New modmail thread (${msg.author.username}#${msg.author.discriminator})`, content: `@here New modmail thread (${msg.author.username}#${msg.author.discriminator})`,
disableEveryone: false, disableEveryone: false,
}); });