GithubHelp home page GithubHelp logo

omega-coder / discord-msg-autosender Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 19.0 222 KB

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

JavaScript 100.00%
discord javascript cdp chrome-devtools-protocol puppeteer

discord-msg-autosender's Introduction

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

discord-msg-autosender's People

Contributors

omega-coder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.