I’m currently building a Discord Bot (node.js) and have it currently using Moralis SDK to log in to Metamask. I want it to be able to get balances and whatnot but can’t figure out how to get the server to send info back to the bot.
Currently, I’m using the Auth-Balances-NFTs (https://github.com/ChrisMoralis/Moralis-Tutorials/blob/main/01%20Auth-Balances-NFTs/01%20Auth-Balances-NFTs.html) code for a simple login page. Works fine and sends the info to the server.
How can I relay the User info back to the bot from the server? For example, user uses ‘login’ command, and the login page pops up with Moralis Authenticate on MetaMask. Click sign and server info updates but the bot doesn’t receive the info.