(client.channels.resolve(client.config.mainServer.channels.logs)asDiscord.TextChannel).send({embeds:[newclient.embed().setColor(client.config.embedColorRed).setTimestamp().setTitle(`${messages.size} messages were purged`).setDescription(`\`\`\`${messages.map(msgs=>`${msgs.author?.username}: ${msgs.content}`).reverse().join('\n').slice(0,3900)}\`\`\``).addFields({name:'Channel',value:`<#${messages.first().channel.id}>`})]})