hacksoc / slack-discord-bridge Goto Github PK
View Code? Open in Web Editor NEWBridges a text channel between Slack and Discord
Bridges a text channel between Slack and Discord
admin@vps208087:~/slack-discord-bridge$ node bot.js
/home/admin/slack-discord-bridge/bot.js:8
var slackRTM = new Slack.RtmClient(slackKey.bot_token);
^
TypeError: Slack.RtmClient is not a constructor
at Object. (/home/admin/slack-discord-bridge/bot.js:8:16)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
There is a dependency on @slack/client missing in the package.json
It'd be nice to have multiple channel-to-channel mappings from Discord to Slack, perhaps with a separate config file where Slack and Discord channels could be listed.
Discord media should send a link to Slack.
We use webhooks to send IRC messages to Discord (which need to be sent to Slack)
Is this line used to prevent the bridge from echo-ing its own messages, or were webhook messages deliberately omitted?
When Discord users mention each other, it appears as an @ followed by a stream of numbers (presumably the user ID) when forwarded to Slack
Should instead show the Discord user's display name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.