Skip to content

PnsDev/Discord-Log-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LogBot 📝

Discord.js Bot for Logs (now with a website!)

Pre-installation:

For This project, you will need a website host and a machine that can run a Node.Js Bot. These do not have to be hosted within the same machine.

  1. Install Node.Js in the machine that will be running the bot
  2. Install all the pre-requisites for Enmap in the same machine found here
  3. Create a bot inside Discord's Developer Portal

Now you should be ready to get started 👌

Installation:

  1. Move the contents of the Website folder into your main directory of your website.
  2. Open to the up.php and edit $secret_key = "make a key here"; with a key. You'll need it later so make sure it's saved.
  3. Move the contents of the Discord Bot folder into the machine you'll be using to host the bot.
  4. Once the files have been transferred, open up the config.json and replace the contents with the information it ask's for.
  5. The last thing needed to be filled inside the config.json in is they key you made in step 2.
  6. Open up the bot folder in the command prompt and run this command:
npm i
  1. You're done. Start the bot with: node App.js
  2. You can look into pm2 to keep your bot up 24/7

If you get any error make sure everything is filled in properly 🙂

Commands:

  • logMe: starts the logs for the channel.

Planned Features:

  • Basic Website ✅
  • Website Embeds
  • Website Markdown
  • Multi-line support
  • Ping support
  • Chat information (like server, channel, etc)

Thank you! Make sure to star if you used it 🎉