Skip to content

A Discord bot that retrieves hourly sales for an NFT collection on OpenSea.io. 🤖

Notifications You must be signed in to change notification settings

shadforth/discord-bot-opensea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot-opensea

A Discord bot that retrieves the latest sales for an NFT collection on OpenSea.io.

Getting started

git clone [email protected]:shadforth/discord-bot-opensea.git
cd discord-bot-opensea
npm install

Running the bot locally

Make a copy of .env.example and name it .env. Update the file with your variables, e.g.

DISCORD_BOT_TOKEN=your.token.here
DISCORD_CHANNEL_ID=1234567890
OPENSEA_ASSET_CONTRACT_ADDRESS=0xabcdefg12345678
OPENSEA_COLLECTION_SLUG=cryptopunks

Start the bot locally.

./scripts/run

Usage

The bot is set up to send messages to Discord on an hourly schedule with GitHub Actions.

About

A Discord bot that retrieves hourly sales for an NFT collection on OpenSea.io. 🤖

Topics

Resources

Stars

Watchers

Forks