Posts a Discord message to the specified Bluesky account once it gets enough of the specified reaction.
It only posts messages from the specified channel, not the whole server, so you'll probably want to make another channel specifically for the bot.
For this to work in your Discord bot, you'll need to create a file whose full filename is .env (don't forget the dot!),
and put the following:
BLUESKY_USERNAME=insert_bsky_username_here
BLUESKY_PASSWORD=insert_bsky_password_here
DISCORD_TOKEN=insert_bot_token_here
CHANNEL_ID=insert_discord_channel_id_here
REACTION=insert_emoji_here
REACTION_COUNT=insert_number_hereReplace the example values with your real ones. Make sure to add 1 to the amount you want in REACTION_COUNT to accommodate for the bot's own reaction.
To run this in your Discord bot:
- Install Node.js
- Run this command in the root of this repo's directory:
npm install - Run this command (doesn't matter where):
npm install -g typescript - Run this command in the root of this repo's directory:
tsc && node .