Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IdfbAn/wafflemaker2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wafflemaker2

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.

.env

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_here

Replace 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.

Run

To run this in your Discord bot:

  1. Install Node.js
  2. Run this command in the root of this repo's directory: npm install
  3. Run this command (doesn't matter where): npm install -g typescript
  4. Run this command in the root of this repo's directory: tsc && node .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors