Skip to content
/ Logger-Bot Public template

Discord.js v14 bot that logs everything on your Discord server

License

Notifications You must be signed in to change notification settings

devdeem/Logger-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner Run on Repl.it

Logger Bot

Discord bot that logs all changes on your Discord server!

Deployment

Follow these instructions on how to use the bot.

1.  Press the green "Code" button at the top of the repo.

template

2.  Download the full code via the "Download ZIP" button

downloadcode

3. Extract the files to your desktop and open the files in Visual Studio Code (or other text editor)

Bot Setup

.env

Put the token of your bot into .env file.

TOKEN=YOUR_BOT_TOKEN

config.json

Adjust your config so that the bot suits you the way you want.

{
  "guildID": "YOUR_GUILD_ID",
  "channels": {
    "channelLog": "CHANNEL_ID",
    "emojiLog": "CHANNEL_ID",
    "banLog": "CHANNEL_ID",
    "unbanLog": "CHANNEL_ID",
    "joinLog": "CHANNEL_ID",
    "leaveLog": "CHANNEL_ID",
    "messageLog": "CHANNEL_ID",
    "voiceLog": "CHANNEL_ID"
  },
  "owner": "975898528859697182"
}
4. Then open a terminal and run the following commands

Downloading discord.js

npm i discord.js@latest

Download the necessary modules:

npm i

Then use this command to turn on the bot:

npm run dev

Support us

If you use this code and are happy with it, we would be happy for any donation to support this project!

DONATE US HERE :)

Packages that this bot use

CHANGELOG

  • 16/08/2022 - Fixed broken presence and finished channelUpdate log.
  • 17/08/2022 - Code has been improved, logger has been added to event folder and emoji logger has been added.
  • 18/08/2022 - Added ban and join log.
  • 29/01/2023 - Modified code to discord.js version 14.7.1.
  • 26/03/2023 - Fixed small bugs, Switched from colors to term-logger package.
  • 27/03/2023 - Added Message Delete Event, Moved all embeds to embed.js file, Rewrited full code.
  • 10/07/2023 - Added new package nodemon and modified code.
  • 8/08/2023 - Updated all packages, Modified README file, Added .prettierrc file, Code has been improved.
  • 25/09/2023 - Updated all packages, Added voiceStateUpdate Event (Voice join, left, mute, unmute,deafended, undeafended), Modified README file

Message from the creator

If I see you using this code as your own, I will report the license violation to GitHub.

About

Discord.js v14 bot that logs everything on your Discord server

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published