Do you want to be notified on Discord when a new GoG NFT is listed? Do you want to be notified for specific assets only? Then imxrarity.tools listing bot is the perfect thing for you!
By using the imx.tools api we were able to create a unique Guild Of Guardians discord listing bot. This bot posts assets that are listed below the floor price. This way we avoid spam and users can quickly see if something is in their interest to buy.
There are multiple ways you can get to use this bot:
- Imxrarity.tools discord
Join us in our discord channel! (https://discord.gg/rHmCxYhR) . We additionally include other projects like Gods Unchained and Illuvium. Our users are friendly and I’m up to answer any questions! How cool is that? - Add the imxrarity.tools bot to your discord
To add the bot to your discord channel we can use the following link
https://discord.com/api/oauth2/authorize?client_id=907393586696425512&permissions=2048&scope=bot
To make things sure we can double check the security permissions and to only allow bot to post in certain discord channels (will need channel ids).To start the listings type “:startListings $collectionAddress” where you replace the $collectionAddress with guild of guardians address, you can use multiple addresses.
gogsHeroesCollectionAddress = “0xee972ad3b8ac062de2e4d5e6ea4a37e36c849a11”
gogsPetsCollectionAddress = “0xf797fa8b22218f4a82286e28a2727cd1680f4237”
gogsOtherCollectionAddress = “0x56a900b85d309e0a981d59377ea76f12dcd4b8de” Use the opensource code to run your own bot server
https://gitlab.com/morgosh/imx.tools
We uploaded opensource code for the bot which can be found on github
In “ExampleServer.js” we can find usage of “ExampleBot.js” that uses imx.tools open API to list only GoG hero assets that listed below their current floor. The ExampleServer can be run using node.js. Don’t forget to set .env variables.
.env
DISCORD_BOT_LOGIN_KEY=myKey
LISTING_CHANNEL_ID=myChannelId