Skip to content

andybui01/discord-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-messenger

Bot used to send discord/messenger cross-platform messages.

Requirements

  • NodeJS
  • Discord developer account (and an Oauth2 token)
  • Facebook account

Dependencies

npm install

Running this command will download the necessary dependencies (found in package.json) from the npm repos.

Setup

Navigate to the Bots section of your discord developer portal and copy your access token.

image

After this you're ready to go! Use your favourite text editor to modify the .env file with your facebook credentials as well as the access token you copied down in the first step.

Start the bot

FB_EMAIL=YOUREMAIL FB_PASS=YOURPASSWORD TOKEN=YOURACCESSTOKEN node index.js

Start the bot (alternative)

You can also create a .env file and add these lines

FB_EMAIL=YOUREMAIL
FB_PASS=YOURPASSWORD
TOKEN=YOURACCESSTOKEN

then run

node index.js

About

Inter-platform communication bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published