yugoccp / slack2discord

Slack2DiscordJS - a script to help you transfer Slack messages to Discord
19 stars 3 forks source link

Handle Slack reactions #8

Closed yugoccp closed 4 years ago

yugoccp commented 4 years ago

Slack messages' reactions aren't imported by the API.

DiscordJS has an API to send reactions through Message object. But since we use sendSlackMessage, the API doesn't return to us the Message created on Discord.

OPTION1: Migrate from sendSlackMessage to send API. Additional effort to parse attachments and mentions already done by the first API. OPTION2: Find a way to get the created message ID, and use HTTP API to create the reaction to the message.