{"id":498,"date":"2022-04-21T16:29:41","date_gmt":"2022-04-21T06:29:41","guid":{"rendered":"https:\/\/programmablewealth.com\/?p=498"},"modified":"2022-04-21T16:29:44","modified_gmt":"2022-04-21T06:29:44","slug":"discord-bot-smart-contract-monitoring","status":"publish","type":"post","link":"http:\/\/10.0.0.14:32768\/discord-bot-smart-contract-monitoring\/","title":{"rendered":"How to Create a Discord Bot that Monitors Smart Contract Events with Ethers.js"},"content":{"rendered":"\n
I recently created a Discord bot for my Aavegotchi<\/a> Gotchiverse gaming guild WAGMI Warriors<\/a> that monitors the Aavegotchi smart contracts<\/a> deployed on the Polygon network for new rentals using the Ethers.js<\/a> library. Then after it finds an event, it posts a message to a channel in the guild Discord server<\/a> using Discord.js<\/a>.<\/p>\n\n\n\n