- Create a Python environment with dependencies from
requirements.txt
- Build a Docker image using the
Dockerfile
in this repo
You need to add environment variables in order to be able to run the bot:
- The Discord channel ID you want the bot to post in. Variable should be named
CHANNEL_ID
- The Token for the bot you want to use. If you need help to create a Discord bot refer to this page https://discordpy.readthedocs.io/en/stable/discord.html . Variable should be named
BOT_TOKEN
You can use this bot only for a specific chain or a specific collection by modifying .
For a chain use one of those options on CHAIN_FILTER
environment variable:
- "pha": "Phantasma",
- "bsc": "BSC",
- "n3": "N3",
- "polygon": "Polygon",
- "avalanche": "Avalanche",
- "eth": "Ethereum",
- "base": "Base"
- "neox": "Neo X"
For a collection use the slug of your collection (you can see It on the URL when visiting the collection on GhostMarket: for example bored-doge
for DogeRift NFTS https://ghostmarket.io/collection/bored-doge/) on COLLECTION_FILTER
.
For launching the bot either you run the Docker image (see docker-compose.yml
example) or the Python script