Package Exports
- discord-logs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-logs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Discord Logs
Discord Logs is a powerful package which add many useful events to your Discord.js client!
Warning: This package uses recent Discord.js features and only works on v12 or higher (npm install discord.js
).
const Discord = require('discord.js');
const client = new Discord.Client();
const logs = require('discord-logs');
logs(client);
// Access to new events, like guildMemberBoost!
client.on('guildMemberBoost', (member) => {
console.log(`${member.user.tag} just boosted ${member.guild.name}!`);
});
client.login('YOUR_DISCORD_BOT_TOKEN');