npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wick-loggerv2

v1.0.0

Published

Wick Logger Bot V2 is a powerful Discord bot designed to monitor and log various server events, providing detailed logs for messages, channels, roles, voice activities, and more. This bot also features an easy-to-use web dashboard for managing its setting

Readme

Wick Logger Bot V2

Wick Logger Bot V2 is a powerful Discord bot designed to monitor and log various server events, providing detailed logs for messages, channels, roles, voice activities, and more. This bot also features an easy-to-use web dashboard for managing its settings.

Features

  • Message Logging: Logs deleted and edited messages.
  • Member Events: Logs member joins, leaves, bans, and unbans.
  • Channel Events: Logs channel creation, deletion, and updates.
  • Role Events: Logs role creations, deletions, and updates.
  • Voice Activity: Logs when users join, leave, or switch voice channels.
  • Nickname Changes: Logs nickname changes.
  • Bulk Message Deletions: Logs bulk deletions of messages.
  • Web Dashboard: Manage the bot’s settings and event logs through a customizable dashboard.
  • Multi-Language Support: Includes translations in Arabic and English.

Table of Contents

Installation

Prerequisites

Before you begin, ensure you have the following:

  • Node.js (v14.0.0 or higher)
  • Discord.js v14.15.3
  • Express.js v4.19.2
  • EJS templating engine

Steps

  1. Clone this repository to your local machine:

    git clone https://github.com/wickstudio/discord-bot-logger.git
    cd discord-bot-logger
  2. Install the required dependencies:

    npm install
  3. Set up the environment variables in the config.js file:

    module.exports = {
        token: 'YOUR_DISCORD_BOT_TOKEN',
        clientId: 'YOUR_DISCORD_CLIENT_ID',
        guildId: 'YOUR_DISCORD_GUILD_ID',
        dashboardPort: 8000,  // Change the port number if needed
    };
  4. Start the bot and the web dashboard:

    npm start

    This will launch both the Discord bot and the dashboard on the port specified in config.js.

Configuration

Discord Bot Token and Guild ID

Update the following in config.js with your bot’s token, client ID, and guild ID:

module.exports = {
    token: 'YOUR_DISCORD_BOT_TOKEN',
    clientId: 'YOUR_DISCORD_CLIENT_ID',
    guildId: 'YOUR_DISCORD_GUILD_ID',
    dashboardPort: 8000,
};

Web Dashboard Configuration

You can change the port for the dashboard by modifying the dashboardPort variable in config.js. The default port is 8000.

Commands

The bot automatically logs the following events when they occur in your Discord server:

  • Message Events:
    • Deleted Messages
    • Edited Messages
    • Bulk Message Deletions
  • Member Events:
    • Member Joins
    • Member Leaves
    • Member Bans
    • Member Unbans
  • Channel Events:
    • Channel Creation
    • Channel Deletion
    • Channel Updates
  • Role Events:
    • Role Creation
    • Role Deletion
    • Role Updates
  • Voice Activity Events:
    • Member Joins Voice
    • Member Leaves Voice
    • Member Switches Voice Channel

Event Loggers

The bot supports the following loggers, which can be enabled or disabled through the web dashboard:

  • Message Events:
    • deleteMessage - Log deleted messages.
    • editMessage - Log edited messages.
    • messageBulkDeleteLog - Log bulk message deletions.
  • Member Events:
    • joinMember - Log when a member joins.
    • leaveMember - Log when a member leaves.
    • kickMember - Log when a member is kicked.
    • banMember - Log when a member is banned.
    • unbanMember - Log when a member is unbanned.
    • changeNickname - Log when a member's nickname changes.
  • Channel Events:
    • channelCreate - Log channel creations.
    • channelDelete - Log channel deletions.
    • channelUpdate - Log channel updates.
  • Role Events:
    • roleCreate - Log role creations.
    • roleDelete - Log role deletions.
    • roleUpdate - Log role updates.
  • Voice Activity:
    • joinVoice - Log when a member joins a voice channel.
    • leftVoice - Log when a member leaves a voice channel.
    • statsVoice - Log voice channel statistics.

Web Dashboard

The bot includes a web-based dashboard to manage loggers, allowing you to enable or disable specific event logging.

Key Features:

  • Real-time Status: See the current state of your bot and logs.
  • Log Settings: Manage which events are logged.
  • Support Integration: Includes direct links to Discord support and the bot's YouTube channel.

Running the Dashboard

The dashboard runs on the port defined in config.js. By default, it’s accessible at:

http://localhost:8000

Dashboard Views:

  1. Home: Overview of bot status.
  2. Logs: View detailed logs.
  3. Settings: Manage logger configurations.

Links

License

This project is licensed under the MIT License. See the LICENSE file for details.