Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

discord-logging

g-strada2ISC0.4.2

A simple discord chat logger. Logs some events and creates a nice embed.

Discord, audits, logs, logging, auditlogs, logger

readme

Discord-logger

A simple yet good purpose built logging plugin. To get started there are a few things that should be setup in order to be sure it runs.

configuring the plugin

Inside of your bots core startup file include the logger. This will also bundle chalk for CLI logging of some events.

const Discord = require('discord.js');
const client = new Discord.Client();
const logger = require('discord-logging');

logger(client, {
  logChannel: 'logs',
  welcomeChannel: 'introductions' // this is where you will put your logging channel
});

client.login(tokenBoiHere);

versions

  • 0.3.8 working base with bad README
  • 0.3.9 updated last versions README
  • 0.4.0 same stuff different update
  • 0.4.1 updated welcome logs and added in two events.
  • 0.4.2 removed those two events. Seemingly broke after release.