A simple slack/discord channels linker
Use :
npm init -y
npm install (all prerequisite)
Prerequisite :
- @slack/bolt
- discord.js
- dotenv
- node-fetch
Installing :
-
Simply create a discord bot on the discord developper page, and a slack app with there required scopes:
-
And these User Token Scopes
-
Also you must subscribe to the event message.channels on behalf of users
-
Create a discord webhook on the channel you want to listen to and save it in a config.js as same as the config.exemple.js
-
Don't forget to create a file named config.js and replace all data to your own data, tokens, channels id, etc
-
When all done, use :
node main.js