A template for action logs with Discord.js.
It's on NPM, so you can just do this:
npm install discord.js-action-logger --save
Call the function like this:
const actlog = require("discord.js-action-logger");
actlog("Kick", channel, moderationMessage, actedUpon, reason).then(resolved => {
console.log("Everything is all good!", resolved);
});