jpgboi/loot-nft-sales-bot

Not reacting to my contract

Closed this issue · 2 comments

this is freaking awesome - i'm trying to hook this up to our discord for this contract (https://etherscan.io/address/0x3c48D717c981b460736ba1eBcBC2c0CC54601ab4) - railway says Listening For Sales but as sales come in I don't get the messages in discord or errors in the log

Bot only listens for Transfer events that have some value attached to it. It only sends messages where the ETH or WETH transferred is greater than 0.

You could fork it and remove the if statement to send messages for all transfers.

if (value.gt(0)) {