This commit is contained in:
Ben
2020-08-28 21:52:21 +01:00
parent 4594be6f94
commit 9b4140ba86
2 changed files with 6 additions and 6 deletions

View File

@@ -681,7 +681,7 @@ async function MessageUpdate(message, oldmessage)
embed.field('', `**Message Owner:** ${message.author.mention}\n` +
`**Old Message:** ${oldmessage.content}\n` +
`**New Message:**: ${message.content}`);
`**New Message:** ${message.content}`);
DiscordHelpers.SendMessageSafe(FallbackChannel, { embed: embed.sendable });
}

View File

@@ -40,11 +40,11 @@ module.exports.setup = async function()
this.bot.editStatus('online', {name: game, type: type});
// let array = await this.bot.getMessages('346104470901358595', 20)
// for (message of array)
// {
// console.log(`${message.author.username}#${message.author.discriminator}: ${message.content}`);
// }
let array = await this.bot.getMessages('346104470901358595', 100)
for (message of array)
{
console.log(`${message.author.username}#${message.author.discriminator}: ${message.content}`);
}
});