Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-guild-logger

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-guild-logger

Module to log all the actions on your server

  • 1.3.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
11
Maintainers
1
Weekly downloads
 
Created
Source

📑 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

Message Deleted Channel Created Role Created

Keywords

FAQs

Package last updated on 08 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc