Skip to content

TheDiscorders/Automsg-Discord-Bot

Repository files navigation

Automsg : Discord-Bot

What is this shit ?

This project is a Discord bot in Node JS. His purpose is to connect to a discord account using puppeteer and post messages at regular intervals in discord channels.

⛓ Configuration

First you need to download the repository and put all the files in a folder. Then open a console in this folder and install the following modules :

  • Private data
    • email, password and token can be changed in the config.js file
    • channels link to go and write message can be added in "variables.json" in the storage folder

Note : In the array "channels" in the variables.json file, put the links as strings in it, example :

"channels": [
    "https://link1.com",
    "https://link2.com",
    "https://link3.com"]

👌 Usage

Start the bot by doing node . in a terminal in the folder.

  • Commands :
    • !automsg on -> starts chromium and sends messages
    • !automsg off -> stops chromium, an error will show in console but wont affect the program
    • !msg set {message} -> sets a message or change the previous one
    • !msg p -> the bot will send the message setted with '!msg set' in the channel

💡 Features

  • Clear dated logs
  • Logs saving in separate files
  • Code is documented if you need to find a precise piece in the code

🙏 Thanks

Thanks to Firokat for help and ideas on this project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •