Skip to content

an app that logs in to discord & sends automatic messages with your personal account to a channel using a headless chrome instance.

Notifications You must be signed in to change notification settings

omega-coder/discord-msg-autosender

Repository files navigation

Discord Auto message sender

Automate discord messages sending without the use of a discord bot. It uses the puppeteer and the CDP protocol from chromium.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to have chrome/chromium browser installed. Works on Windows/Linux/MacOS You will need nodejs and npm installed.

Installing

Run chrome/chromium with remote debugging ON

NOTE that if an instance of chrome is already running on your system, remote debugging port won't work

I advise you to create a hidden folder .discord_project so it can be used to store your user data.

foo@foobar:~$ mkdir ~/.discord_project
foo@foobar:~$ chromium --remote-debugging-port=1337 --user-data-dir=~/.discord_project

now create a .env file using the example .env.example

foo@foobar:~$ cp .env.example .env

Now edit the .env file with your discord credentials and the set the SERVER_NAME variable.

DISCORD_USER="your_username"
DISCORD_PASSWORD="your_discord_password"

SERVER_NAME="ShellmatesTeam2020"

Install dependencies using npm

npm install

Deployment

run the script and let it do the work.

node index.js

Built With

  • NodeJS - Language used
  • npm - Dependency Management
  • puppeteer - Headless Chrome Node.js API

Authors

  • CHERIEF Yassine - Initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • CHERIEF Yassine

About

an app that logs in to discord & sends automatic messages with your personal account to a channel using a headless chrome instance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published