A discord bot for watching opensea collections floor price.
-
discord account, regist here
-
create a application bot, here
-
get a bot token/guild_id/cliend_id/channel_id from previos step, and add that bot in your server
-
optional: ensure your network can access all we used sites, or you need a vpn.
I recommend you use replit, and my bot is on it.
-
optional: uptimerobot account, regist here
run command npm i
-
Check
config.js
In generally, you don't need to change anything, unless you know what it is.
-
Update your discord bot token in
.env
, you need create this file if it not exit. -
Deploy commands, run cmmand
npm run deploy_command
-
Run wathcer
run cmd npm run start
, will run a watcher
- Using commands
You can use commands to restart or cancel a watcher as below:
Command | Description | parameters |
---|---|---|
/watch_floor | Start watching floor price of collections | - |
/unwatch_floor | Stop watching floor price of collections | - |
/add_collection_floor | Add new collection floor price for watching | name : collection name price : expect price |
/remove_collection_floor | Remove a collection from watching list | collection_index : The collection index which you want to remove, you can get it from command /list_collections_floor |
/update_collection_floor | Update a collection's floor price | collection_index : The collection index which you want to update, you can get it from command /list_collections_floor new_price : new expect price |
/list_collections_floor | List all watched collections | - |
- optional: running 24/7
if you want running bot 24/7, you need do all optional steps in this readme doc, more detail please refer Host-a-Discord-Bot-online-247-for-FREE