discord-guild-logger
v1.3.5
Published
Module to log all the actions on your server
Downloads
36
Maintainers
Readme
📑 Discord Guild Logger ! LetsGoz
Module to log all actions that happens on your server
💖 Features
- Easy to use
- Multiple server
- 7 events
- Works with all DJS versions
✨ How to use
const Discord = require('discord.js'); // Requiring Discord
const intents = new Discord.Intents(); // Intents
const client = new Discord.Client({ intents: 32767 }); // Bot
const DiscordLogger = require('discord-guild-logger'); // Requiring the module
DiscordLogger.init({
client: client,
logChannel: 'CHANNEL ID',
events: {
messageEdit: true,
messageDelete: true,
roleCreate: true,
roleDelete: true,
channelDelete: true,
channelCreate: true,
guildBanAdd: true,
}
})
client.on('ready', async () => {
console.log(`Logged in as ${client.user.username}.`)
});
client.login('YOUR TOKEN')
📷 Output