0.4.2 • Published 5 years ago

discord-logging v0.4.2

Weekly downloads
7
License
ISC
Repository
-
Last release
5 years ago

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.