Black Friday: 12 months of WIP for $99, until Sunday 11:59pm PT. Get the deal
Back
Slack-Discord Bridge

Slack-Discord Bridge

#slackdiscord

Building a Slack <=> Discord bridge for Nomad List
Launched October 11, 2021
#slackdiscord Write a shell script that autocommits a changed comment to repository which triggers a restart of the app which fixes Slack API disconnecting us after a while for unclear reasons
#slackdiscord Add handler for "close" on WebSocket, because apparently after a while Slack randomly likes to send "close" events on the connections and then everything dies and it sucks and WHY SLACK WHY
#slackdiscord Integrate it so that messages edited in Slack are correctly reflected in Discord cuz apparently webhook stuff can be edited now
#slackdiscord Fix links being messed up when you combine a user mention with a link because Slack uses angle brackets < > for various things (e.g. users, links, channels..)
#slackdiscord Fix multiple mentions being replaced with single mention on the other side
#slackdiscord Fix messed up mentions coming from Discord
#slackdiscord Make sure that the weird Slack URL format <url|text> gets sent to Discord properly
#slackdiscord Add heartbeat msg every 5 minutes that confirms everything is running
#slackdiscord Make team on Discord so that @levelsio can edit the bot too
#slackdiscord Sync emoji reactions in both directions. [WE ARE FEATURE COMPLETE YO]
#slackdiscord Mirror Discord emoji reactions to Slack with correct emoji translation
#slackdiscord Translate Slack emoji to Discord emoji successfully
#slackdiscord Make an authoratative and complete mapping list of Slack Emoji shortnames to Unicode emojis. Along the way figure out that Slack uses non-standard names in some cases, Discord just sends Unicode anyways, learn that PHP messes up emoji unless you specially escape them and finally learn that Slack doesn't even support Emoji 13.1 yet. Emojis suck.
#slackdiscord Decode HTML entities in messages
#slackdiscord Don't accept any messages that aren't normal user text messages
#slackdiscord Successfully reproduce bug finally
#slackdiscord Locate likely source of bug causing double messages
#slackdiscord investigate duplicate messages
#slackdiscord Sync emoji reactions from Discord => Slack. If user has permissions, do it as user. Otherwise do it as bot.
#slackdiscord Write extensive README for @daniellockyer so I don't have to type it all out later and also so I remember shit when I come back to this project in 6 months or whatever
Home
Search
Messages
Notifications
More

Are you sure?