mertimus / nft-sales-bot

A short sales bot/script for tracking NFT sales on Solana
69 stars 42 forks source link

please set your environment variables! #10

Open SolSecSociety opened 2 years ago

SolSecSociety commented 2 years ago

when i run the full command: PROJECT_ADDRESS=.... DISCORD_URL=https://discord.com/api/webhooks/.... node sales_bot.js

I get the error "please set your environment variables!"

i've also tried to create a .env file with those variables in but nothing, always the same

tangibleduckling commented 2 years ago

are you doing this in JS? if you to use environment vars you need to use dotenv